package
1.0.1-rc2
Repository: https://github.com/stack-labs/stack.git
Documentation: pkg.go.dev

# README

stackctl

install

  • release binary
  • go get
    • go get -u github.com/stack-labs/stack/util/stackctl

example

  • 创建service
stackctl new github.com/stack-labs/example --alias example -type service --gopath
  • 创建api
stackctl new github.com/stack-labs/example-api --alias example -type api --gopath
  • 修改 FIXME 内容
    • 替换example-apipath/to/service/proto/examplegithub.com/stack-labs/example/proto/example
  • 本地环境用go.modreplace添加github.com/stack-labs/example
module github.com/stack-labs/example-api

go 1.14

replace github.com/stack-labs/example v1.0.0 => ../example

require (
	github.com/stack-labs/example v1.0.0
)

# Packages

Package new generates stack service templates.
No description provided by the author