Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.4.0
type Config struct { Gofmt Gofmt `json:"gofmt,omitempty"` DefaultVisibility string `json:"default_visibility,omitempty"` KnownDependency map[string]string `json:"known_dependency,omitempty"` AllowUnresolvedDependency *optional.Bool `json:"allow_unresolved_dependency,omitempty"` ExplicitSources *optional.Bool `json:"explicit_sources,omitempty"` }
type Filesystem ¶
type Filesystem interface { Stat(string) (os.FileInfo, error) Lstat(string) (os.FileInfo, error) Config(string) Config Walk(string, filepath.WalkFunc) error ReadAll(*bytes.Buffer, string) error ReadDir(string) ([]os.FileInfo, error) Readlink(string) (string, error) Symlink(string, string) error RemoveAll(string) error Remove(string) error MkdirAll(string, os.FileMode) error }
type Gofmt ¶ added in v0.4.0
type Gofmt struct { Rewrite *bool `json:"rewrite,omitempty"` Create gofmtCreate `json:"create,omitempty"` Manage gofmtManage `json:"manage,omitempty"` Mapped gofmtMapped `json:"mapped,omitempty"` }
func (*Gofmt) GetRewrite ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.