Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildConf ¶
type BuildConf struct { Rules []string `cfg-attr:"rules"` Ignores []string `cfg-attr:"ignore-dirs"` }
GobazelConf represents the bazel build config.
type GobazelConf ¶
type GobazelConf struct { GoPath string `cfg-attr:"go-path"` GoPkgPrefix string `cfg-attr:"go-pkg-prefix"` GoIdeCmd string `cfg-attr:"go-ide-cmd"` Ignores []string `cfg-attr:"ignore-dirs"` Vendors []string `cfg-attr:"vendor-dirs"` FallThrough []string `cfg-attr:"fall-through-dirs"` Build *BuildConf `cfg-attr:"build"` IgnoreSet map[string]struct{} VendorSet map[string]struct{} FallThroughSet map[string]struct{} }
GobazelConf represents the gobazel global config.
func LoadConfig ¶
func LoadConfig(cfgPath string) *GobazelConf
LoadConfig loads gobazel config from the given file.
Click to show internal directories.
Click to hide internal directories.