Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoLabel = Label{}
NoLabel is the nil value of Label. It is not a valid label and may be returned when an error occurs.
Functions ¶
func ImportPathToBazelRepoName ¶
ImportPathToBazelRepoName converts a Go import path into a bazel repo name following the guidelines in http://bazel.io/docs/be/functions.html#workspace
Types ¶
type Label ¶
A Label represents a label of a build target in Bazel.
func Parse ¶
Parse reads a label from a string. See https://docs.bazel.build/versions/master/build-ref.html#lexi.
type Labeler ¶
type Labeler struct {
// contains filtered or unexported fields
}
Labeler generates Bazel labels for rules, based on their locations within the repository.
func NewLabeler ¶
func (*Labeler) BinaryLabel ¶
func (*Labeler) GoProtoLabel ¶
func (*Labeler) LibraryLabel ¶
func (*Labeler) ProtoLabel ¶
Click to show internal directories.
Click to hide internal directories.