Skip to content

Commit

Permalink
update libs
Browse files Browse the repository at this point in the history
  • Loading branch information
janishar committed Jul 3, 2024
1 parent 88c937a commit 5081221
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ go.work
go.work.sum

dist/

.DS_Store
14 changes: 7 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ seed("test-db", "test-db-user", "changeit");

func generateDocker(dir string) {
base := filepath.Base(dir)
docker := fmt.Sprintf(`FROM golang:1.22.4
docker := fmt.Sprintf(`FROM golang:1.22.5-alpine
RUN adduser --disabled-password --gecos '' gouser
Expand Down Expand Up @@ -129,7 +129,7 @@ CMD ["./build/server"]
- redis
mongo:
image: mongo:7.0.9
image: mongo:7.0.12
container_name: mongo
restart: unless-stopped
env_file: .env
Expand All @@ -145,7 +145,7 @@ CMD ["./build/server"]
- dbdata:/data/db
redis:
image: redis:7.2.3
image: redis:7.2.5
container_name: redis
restart: unless-stopped
env_file: .env
Expand Down Expand Up @@ -956,14 +956,14 @@ RSA_PUBLIC_KEY_PATH="../keys/public.pem"
func generateGoMod(module, dir string) {
goMod := `module %s
go 1.22.4
go 1.22.5
require (
github.com/gin-gonic/gin v1.10.0
github.com/go-playground/validator/v10 v10.22.0
github.com/jinzhu/copier v0.4.0
github.com/spf13/viper v1.19.0
github.com/unusualcodeorg/goserve v1.1.0
github.com/unusualcodeorg/goserve v1.1.9
go.mongodb.org/mongo-driver v1.15.1
)
Expand Down Expand Up @@ -1027,14 +1027,14 @@ require (

goSum := `module %s
go 1.22.4
go 1.22.5
require (
github.com/gin-gonic/gin v1.10.0
github.com/go-playground/validator/v10 v10.22.0
github.com/jinzhu/copier v0.4.0
github.com/spf13/viper v1.19.0
github.com/unusualcodeorg/goserve v1.1.0
github.com/unusualcodeorg/goserve v1.1.9
go.mongodb.org/mongo-driver v1.15.1
)
Expand Down
Binary file modified project.zip
Binary file not shown.

0 comments on commit 5081221

Please sign in to comment.