aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-09-14 20:25:53 +0200
committerDennis Eriksen <d@ennis.no>2023-09-14 20:25:53 +0200
commit3116390ed05f46983dc955f9852d8dbeea041e15 (patch)
tree9d10bc2e1d28980d518b6b2d82867fa5bcf96fc5
parentUpdated build-instructions for rust-version (diff)
downloadmakepass-3116390ed05f46983dc955f9852d8dbeea041e15.tar.gz
Updated build-instructions for go-version
-rw-r--r--README.md2
-rw-r--r--go/go.mod2
-rw-r--r--go/main.go (renamed from go/makepass.go)0
3 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3b6e34a..d1dc0b4 100644
--- a/README.md
+++ b/README.md
@@ -204,7 +204,7 @@ Bash-version. It's a lot messier than the zsh-version.
Build width (from root folder in repo):
```
-$ go build -o ../makepass.go -C go/ -ldflags "-s -w" makepass.go
+$ go build -C go -o .. -ldflags "-s -w"
```
### Perl
diff --git a/go/go.mod b/go/go.mod
index bc5ed12..108f34b 100644
--- a/go/go.mod
+++ b/go/go.mod
@@ -1,4 +1,4 @@
-module makepass
+module makepass.go
go 1.20
diff --git a/go/makepass.go b/go/main.go
index a5241a3..a5241a3 100644
--- a/go/makepass.go
+++ b/go/main.go