ginting

command module
v0.0.0-...-6177508 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 17 Imported by: 0

README

GINting Boilerplate

GIN Boilerplate untuk kamu yang dikejar waktu

Run Command

sh scripts/start-dev with air hot reload go run ext/sample-grpc-server/main.go run sample grpc server

Development Work Flow with Dependecty Injection Google Wire
  • go get github.com/google/wire/cmd/wire
  • $GOPATH/bin/wire pkg/wire/wire.go
Enable Keycloak
  • edit .env file and set:
  • KEYCLOAK=1
  • KEYCLOAK_CERTS={{keycloak_host}}/auth/realms/{{realms_name}}/protocol/openid-connect/certs
  • KEYCLOAK_ISSUER={{keycloak_host}}/auth/realms/{{realms_name}}
RUN Sample GRPC SERVER
  • go run ext/sample-grpc-server/main.go

TODO

  • sample GIN Routing Group ✅
  • sample ORM database with GORM
  • sample Dependecy Injection with Google Wire
  • sample Opentelemetry with exporter Jaeger
  • sample Keycloak Middleware ✅
  • sample GRPC Service Middleware ✅
  • sample logging with Logrus
  • sample email notification
  • sample Telegram Notification
  • sample redis cache
  • sample google pub/subs
  • sample google cloud tasks
  • etc..

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
db
ext
sample-grpc-server
Package main implements a server for Greeter service.
Package main implements a server for Greeter service.
model
pkg
log
service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL