This is like a MVC web framework to create Go project that is a combination of the following.
We don't think this project is best practice, so we have some plans to improve this.
If you use Docker Compose, to set up is easy.
% docker-compose up -d
% docker-compose exec web bin/bash
$ go run tools/init.go
$ bash ./build.sh
Check the response
% curl http://localhost:5000/api/user/profile
{"message": "ログインしてください。"}
- Open Preferences(⌘,) -> Go -> GOPATH
- Add
<your project path>/src/gozen
to Project GOPATH.
Contributions to this project are welcome.