blog-go, written in go.
Technologies used:
- Kratos for a microservice framework
- GORM for ORM
- lib/pq for PostgreSQL driver in pure Go
- glebarez/go-sqlite for SQLite driver in pure Go
- Cobra for CLI
- Viper for configuration
# initialize the project
make init
# if you add new repository, or service, or anything that needs to be wired
# if you just want to run the server, you don't need to
make wire
# run the server
make run
# build the binary
make build
# run with the binary
./bin/blog-go
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.
See CONTRIBUTING.md.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.