You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-grpc_basic/main.go

20 lines
301 B
Go

package main
import (
"log"
"github.com/ajikamaludin/go-grpc_basic/configs"
)
func main() {
var err error
configs, logger, err := configs.New()
if err != nil {
log.Printf("[SERVER] ERROR %v", err)
log.Fatal(err)
}
logger.Infof("[SERVER] Environment %s is ready", configs.Config.Env)
}