Atomika
Fast go services bootstrapping.
Install
go install gitlab.com/macroscope-lab/atomika@latest
atomika version
Quick start
atomika project create demo
cd demo
atomika service create greeter
Create a def
folder withing greeter folder
greeter/def/service.go
type GreeterService interface {
SayHi(SayHiReq) SayHiRes
}
type SayHiReq struct {
Name string
}
type SayHiRes struct {
Msg string
}
Generate source files
atomika service generate greeter --sdk-go
Folder sdk
will be generated under root folder with a go sdk ready to be used in a different client
Docs
// TBA