https://github.com/zaru/go-echo-api-test-sample
https://github.com/zaru/go-echo-api-test-sample
echo golang
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/zaru/go-echo-api-test-sample
- Owner: zaru
- Created: 2017-11-07T14:34:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-09T06:32:11.000Z (over 8 years ago)
- Last Synced: 2025-08-14T03:39:13.801Z (6 months ago)
- Topics: echo, golang
- Language: Go
- Size: 10.7 KB
- Stars: 18
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang WebAPI server testing sample
- WAF: echo v3
- DB: PostgreSQL
- sqlx
- Test tool
- stretchr/testify/assert
- DATA-DOG/go-sqlmock
## Init
### Docker
```
docker-compose up -d
```
### DB schema
```
create table users (
id SERIAL,
name varchar
) ;
```
### Start echo server
```
realize start
```
### Test
```
go test ./...
```