Documentation ¶
Index ¶
- Constants
- func Base(absPath string) string
- func ExtractPrefix(name, prefix string) (string, string)
- func GomeetPkg() string
- func LastFromSplit(input, split string) string
- func Log(t LogType, msg string)
- func NormalizeDefaultPrefixes(s string) string
- func ParseCmd(s string) []string
- func Path(inputPath string) (string, error)
- func SrcPath() string
- type Empty
- type LogType
- type PkgNfo
- func (pNfo PkgNfo) DefaultPrefixes() string
- func (pNfo PkgNfo) GoPkg() string
- func (pNfo PkgNfo) Name() string
- func (pNfo PkgNfo) Path() string
- func (pNfo PkgNfo) Prefix() string
- func (pNfo PkgNfo) ProjectGroupGoPkg() string
- func (pNfo PkgNfo) ProjectGroupName() string
- func (pNfo *PkgNfo) SetDefaultPrefixes(s string) error
- func (pNfo PkgNfo) ShortName() string
Constants ¶
View Source
const (
GomeetDefaultPrefixes = "svc-,gomeet-svc-"
)
Variables ¶
This section is empty.
Functions ¶
func ExtractPrefix ¶
func LastFromSplit ¶
func Path ¶
Copied and re-worked from https://github.com/spf13/cobra/bl ob/master/cobra/cmd/helpers.go
Types ¶
type PkgNfo ¶
type PkgNfo struct {
// contains filtered or unexported fields
}
func (PkgNfo) DefaultPrefixes ¶
func (PkgNfo) ProjectGroupGoPkg ¶
func (PkgNfo) ProjectGroupName ¶
func (*PkgNfo) SetDefaultPrefixes ¶
Click to show internal directories.
Click to hide internal directories.