https://github.com/zhouboyi1998/note-chi
https://github.com/zhouboyi1998/note-chi
chi go-mongodb-driver
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zhouboyi1998/note-chi
- Owner: zhouboyi1998
- License: mit
- Created: 2025-01-26T08:41:47.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-02-14T09:50:34.000Z (11 months ago)
- Last Synced: 2025-03-04T01:43:07.943Z (10 months ago)
- Topics: chi, go-mongodb-driver
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
README
📔 note-chi
### 📖 Language
[简体中文](./README.md) | English
### ⌛ Start
#### Project configuration
* 1:Configure `Global GOPATH` & `Project GOPATH`
* 2:Configure `Environment`
* `GOPROXY=https://goproxy.cn,direct`
* `GOFLAGS=-buildvcs=false`
* `ENVCONFIG=dev`
#### Install dependencies
```
go mod tidy
```
#### Run
```
go run main.go
```
#### compile to an executable file
```
go build main.go
```
### 🐳 Docker
#### Compile the Golang code to Linux executable file
```
set GOOS=linux
set GOARCH=amd64
go build main.go
```
#### Docker Build
```
docker build -t note-chi .
```
#### Docker Run
```
docker run -d -p 18082:18082 --name note-chi note-chi
```
### 📜 Licence
[MIT License](https://opensource.org/licenses/MIT) Copyright (c) 2022 周博义