https://github.com/zkfmapf123/go-api-template
template > go-api
https://github.com/zkfmapf123/go-api-template
Last synced: 8 months ago
JSON representation
template > go-api
- Host: GitHub
- URL: https://github.com/zkfmapf123/go-api-template
- Owner: zkfmapf123
- Created: 2024-11-09T05:21:36.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-27T14:27:49.000Z (over 1 year ago)
- Last Synced: 2025-01-13T09:38:20.494Z (over 1 year ago)
- Language: Go
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go-API-Template
## 내부 패키지 구성하는 법
```sh
## 내부 패키지 등록
cmd or internal path로 등록
ex) go mod init cmd/hello
ex) go mod init internal/net
## work
go work init
go work use [path]
ex) go work use ./cmd/hello
ex) go work use ./internal/net
```