Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

uyupun-archive/snack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snack

Slackbot Proxy

環境構築

$ brew install protobuf
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
$ protoc --go_out=. --go-grpc_out=. api/health_check.proto
$ brew install grpcurl
$ grpcurl -plaintext localhost:8080 list
$ grpcurl -plaintext localhost:8080 list snack.HealthCheckService
$ grpcurl -plaintext -d '{"name": "snack"}' localhost:8080 snack.HealthCheckService.Echo
$ go install github.com/cosmtrek/air@latest
$ air
$ go install entgo.io/ent/cmd/ent@latest
$ ent new --target pkg/db/schema Webhook
$ ent generate ./pkg/db/schema --target pkg/db/ent
$ go run scripts/migrate.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages