Update dependencies

This commit is contained in:
Illya Marchenko 2024-08-14 12:27:59 +03:00
parent 1eff11b558
commit 88e9502e5c
Signed by: stuzer05
GPG Key ID: A6ABAAA9268F9F4F
3 changed files with 14 additions and 2 deletions

12
Makefile Normal file
View File

@ -0,0 +1,12 @@
.PHONY: build fmt lint
build: fmt lint
go build .
fmt:
gofmt -w -r "interface{} -> any" .
go fmt ./...
lint:
go vet ./...
staticcheck ./...

View File

@ -5,6 +5,6 @@ func AsciiLowercase() (dict []int) {
for i := 97; i <= 122; i++ { for i := 97; i <= 122; i++ {
dict = append(dict, i) dict = append(dict, i)
} }
return return
} }

2
go.mod
View File

@ -1,3 +1,3 @@
module gitea.stuzer.link/stuzer05/passgen module gitea.stuzer.link/stuzer05/passgen
go 1.22.3 go 1.23