fix readme,

update go mod
This commit is contained in:
2025-03-12 00:09:18 +00:00
parent f1407fd045
commit a446bbd923
3 changed files with 8 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: build clean test
.PHONY: build clean test dev-init
build: clean
@echo "======================== Building Binary ======================="
@@ -23,4 +23,8 @@ test:
go tool pprof -top mem.prof
@rm -f mem.prof
@rm -f test.test
@rm -f test.test
dev-init:
apt install minify
go get -t wfa/test

View File

@@ -1,6 +1,6 @@
# Using WFA-JS
Download `wfa.js` and `wfa.wasm`from [releases](https://git.tronnet.net/tronnet/WFA-JS/releases) to your project. Add to your script:
Download `wfa.js` and `wfa.wasm`from [releases](https://git.tronnet.net/alu/WFA-JS/releases) to your project. Add to your script:
```
import wfa from "./wfa.js"

2
go.mod
View File

@@ -1,6 +1,6 @@
module wfa
go 1.23.2
go 1.23.6
require (
github.com/schollz/progressbar/v3 v3.17.1