Skip to content

Commit

Permalink
fix missing go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
roffidaijoubu committed Dec 14, 2024
1 parent 0d81688 commit 2acec8c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
go-version: '1.21'
cache: true

- name: Initialize Go Module
run: |
cd backend
go mod init github.com/${{ github.repository }}/backend
go mod tidy
- name: Build
run: |
cd backend
Expand Down
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,12 @@ tmp/
.gobuild/

# Project-local go module cache
go.sum.backup
go.sum.backup

# OS generated files
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
7 changes: 7 additions & 0 deletions backend/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module github.com/roffidaijoubu/chat-tools/backend

go 1.21

require (
github.com/gorilla/websocket v1.5.1
)

0 comments on commit 2acec8c

Please sign in to comment.