kratos

module
v0.0.0-...-3ba5932 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT

README

kratos-tpl

my go kratos Project Template base on offical kratos layout

Features

  • use go-task rather than make
  • use buf for proto build
  • built in zap with lumbjack
  • use goreleaser to cross build

required tools

goreleaser

go install github.com/goreleaser/goreleaser@latest

Task

go install github.com/go-task/task/v3/cmd/task@latest

for Buf installation, please refer document

usage

run the command:

kratos new <your App Name> -r https://github.com/tpl-x/kratos.git

or

kratos new <your App Name> -r git@github.com:tpl-x/kratos.git

to create your first Application

Directories

Path Synopsis
api
cmd
internal
biz

Jump to

Keyboard shortcuts

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