project

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPkgFromAPIProject added in v0.0.6

func GetPkgFromAPIProject(options APIOptions) ([]string, error)

GetPkgFromAPIProject get pkg list from api project

func InitAPIProject added in v0.0.6

func InitAPIProject(options APIOptions) error

InitAPIProject create a new API project

func InstallPkgToApiProject added in v0.0.6

func InstallPkgToApiProject(options APIOptions, pkgList []string) error

InstallPkgToApiProject install package to api project

func NewGRPCProject

func NewGRPCProject() error

NewGRPCProject create a new gRPC project

Types

type APIOptions

type APIOptions struct {
	Name    string   `json:"name"`     // project name
	Dir     string   `json:"dir"`      // project dir
	ModPath string   `json:"mod_path"` // go module path
	PkgList []string `json:"pkg_list"` // pkg list
}

APIOptions api project options

Jump to

Keyboard shortcuts

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