https://github.com/noble-gase/og
[鿫-Og] Go开发脚手架
https://github.com/noble-gase/og
api framework getter gg go grpc og protoc-gen-og
Last synced: about 1 year ago
JSON representation
[鿫-Og] Go开发脚手架
- Host: GitHub
- URL: https://github.com/noble-gase/og
- Owner: noble-gase
- License: mit
- Created: 2025-03-11T01:49:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T06:03:17.000Z (about 1 year ago)
- Last Synced: 2025-03-26T07:22:05.674Z (about 1 year ago)
- Topics: api, framework, getter, gg, go, grpc, og, protoc-gen-og
- Language: Go
- Homepage: https://pkg.go.dev/github.com/noble-gase/og
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 鿫-Og
[](https://golang.org)
[](https://pkg.go.dev/github.com/noble-gase/og)
[](http://opensource.org/licenses/MIT)
[鿫-Og] Go开发脚手架
## og
自动生成项目,支持 `HTTP` 和 `gRPC`,并同时支持创建「单应用」和「多应用」
```shell
go install github.com/noble-gase/og/cmd/og@latest
```
进一步了解 👉 [详情](https://github.com/noble-gase/og/blob/main/cmd/og/README.md)
## protoc-gen-og
使用 `proto` 定义API,基于 [chi](https://github.com/go-chi/chi) 自动生成路由和服务注册
```shell
go install github.com/noble-gase/og/cmd/protoc-gen-og@latest
```
进一步了解 👉 [详情](https://github.com/noble-gase/og/blob/main/cmd/protoc-gen-og/README.md)
## gg
受 `protoc-gen-go` 启发,为结构体生成 `Get` 方法【支持泛型!!!】,避免空指针引起的Panic
```shell
go install github.com/noble-gase/og/cmd/gg@latest
```
进一步了解 👉 [详情](https://github.com/noble-gase/og/blob/main/cmd/gg/README.md)
**Enjoy 😊**