Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
func NewDependency ¶
func NewDependency(targetDir string, forceUpdate bool) Dependency
type DependencyImpl ¶
type DependencyImpl struct {
// contains filtered or unexported fields
}
func (*DependencyImpl) IsNeedWriteLockFile ¶
func (d *DependencyImpl) IsNeedWriteLockFile() bool
func (*DependencyImpl) Load ¶
func (d *DependencyImpl) Load() (*ProtoDep, error)
type ProtoDep ¶
type ProtoDep struct { ProtoOutdir string `toml:"proto_outdir"` Dependencies []ProtoDepDependency `toml:"dependencies"` }
type ProtoDepDependency ¶
type ProtoDepDependency struct { Target string `toml:"target"` Subgroup string `toml:"subgroup"` Revision string `toml:"revision"` Branch string `toml:"branch"` Path string `toml:"path"` Ignores []string `toml:"ignores"` Protocol string `toml:"protocol"` }
func (*ProtoDepDependency) Directory ¶
func (d *ProtoDepDependency) Directory() string
func (*ProtoDepDependency) Repository ¶
func (d *ProtoDepDependency) Repository() string
Click to show internal directories.
Click to hide internal directories.