docs: update license and readme.md

This commit is contained in:
yanghao05
2023-03-20 15:34:18 +08:00
parent 5943b9e1d5
commit bde38e7a0c
2 changed files with 36 additions and 15 deletions

View File

@@ -1,18 +1,18 @@
# atom
atom go http service template
atom is a simple http/grpc service template
## Tool
- [atomctl](https://github.com/rogeecn/atomctl)
## Features
- using [Gin](https://github.com/gin-gonic/gin) to support http service
- using [dig](https://github.com/uber-go/dig) to support dependency injection
- using [gomigrate](github.com/go-gormigrate/gormigrate/v2) to support migration
- using [Gorm](gorm.io/gorm) to support orm
- using [gen](gorm.io/) to auto generate database models
## License
MIT
## Contact
- Rogee(rogeecn@qq.com)
## docker compose
```
version: '3'
services:
db:
image: mariadb:latest
restart: always
ports:
- 3306:3306
environment:
MARIADB_DATABASE: demos
MARIADB_ROOT_HOST: "%"
MARIADB_ROOT_PASSWORD: root
```