Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuanyu90221/gin_basic
https://github.com/yuanyu90221/gin_basic
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuanyu90221/gin_basic
- Owner: yuanyu90221
- Created: 2020-05-18T16:18:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-18T08:37:14.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T08:05:47.633Z (7 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gin_basic
# gin: a web framework in golang
[gin repo](https://github.com/gin-gonic/gin)
# reference documentaion
[gin 教學文章](https://ithelp.ithome.com.tw/articles/10222303)
# introductionGin is a web framework written in Go (Golang)
## how to start
### 1 installation
```go===
go get -u github.com/gin-gonic/gin
```### 2 import gin into main packaage
```go===
import "github.com/gin-gonic/gin"
```### 3 if we use some constant like http.statusOK we will import "net/http"
```go===
import "net/http"
```
### 4 test測試資料夾下的所有 *_test.go
```go===
go test -v ./...
```