https://github.com/pplmx/blog-go
https://github.com/pplmx/blog-go
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pplmx/blog-go
- Owner: pplmx
- License: apache-2.0
- Created: 2024-01-31T13:23:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-12T11:39:49.000Z (8 months ago)
- Last Synced: 2025-12-14T01:33:28.447Z (8 months ago)
- Language: Go
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# blog-go
[](https://github.com/pplmx/blog-go/actions)
[](https://coveralls.io/github/pplmx/blog-go?branch=main)
blog-go, written in go.
Technologies used:
- [Kratos](https://go-kratos.dev/) for a microservice framework
- [GORM](https://gorm.io/) for ORM
- [lib/pq](https://github.com/lib/pq) for PostgreSQL driver in pure Go
- [glebarez/go-sqlite](https://github.com/glebarez/go-sqlite) for SQLite driver in pure Go
- [Cobra](https://github.com/spf13/cobra) for CLI
- [Viper](https://github.com/spf13/viper) for configuration
## Usage
```bash
# 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
```
## Contribution
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](CONTRIBUTING.md).
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.