Documentation ¶
Index ¶
- Constants
- type ChanFunc
- type Config
- type Directory
- type Gofmt
- type Service
- func (this *Service) FindBuildFile(dir string) (string, error)
- func (this *Service) Format(config wollemi.Config, paths []string) error
- func (this *Service) GoFormat(config wollemi.Config, paths []string) error
- func (this *Service) GoPkgPath(elem ...string) string
- func (this *Service) GoSrcPath(elem ...string) string
- func (this *Service) ParseDir(buf *bytes.Buffer, dir *Directory) *Directory
- func (this *Service) ReadDir(path string) (*Directory, error)
- func (this *Service) ReadDirs(out chan *Directory, paths ...string) error
- func (this *Service) RulesUnused(prune bool, kinds, paths, exclude []string) error
- func (this *Service) SymlinkGoPath(force bool, paths []string) error
- func (this *Service) SymlinkList(name string, broken, prune bool, exclude, include []string) error
Constants ¶
View Source
const (
BUILD_FILE = "BUILD.plz"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChanFunc ¶
type ChanFunc struct {
// contains filtered or unexported fields
}
func NewChanFunc ¶
type Directory ¶
type Directory struct { Path string `json:"path,omitempty"` Rule string `json:"-"` Gopkg *golang.Package `json:"gopkg,omitempty"` Build please.File `json:"-"` Ok bool `json:"-"` Rewrite bool `json:"-"` InRunPath bool `json:"-"` Files map[string]os.FileInfo `json:"-"` GoFiles []string `json:"-"` BuildFiles []string `json:"-"` HasGoFile bool `json:"-"` }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) FindBuildFile ¶ added in v0.0.3
func (*Service) RulesUnused ¶
func (*Service) SymlinkGoPath ¶
Click to show internal directories.
Click to hide internal directories.