Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultMethod is the default request method DefaultMethod = "GET" // DefaultStatus is the default expected response status DefaultStatus = 200 )
View Source
const ( // FileMode is default file mode FileMode = 0644 // DirFileMode is default file mode for directories DirFileMode = 0755 )
View Source
const (
// DefaultRepository is default repository location
DefaultRepository = "http://central.maven.org/maven2"
)
Variables ¶
View Source
var Colors = map[string]color.Attribute{ "black": color.FgBlack, "red": color.FgRed, "green": color.FgGreen, "yellow": color.FgYellow, "blue": color.FgBlue, "magenta": color.FgMagenta, "cyan": color.FgCyan, "white": color.FgWhite, }
Colors is the color mapping
View Source
var LocalRepository = util.ExpandUserHome("~/.java/repository")
LocalRepository is default location for local repository
Functions ¶
func RemoveStep ¶
RemoveStep remove first part of an error message that include step: - message: error message (such as "in step 1: message") Return: error message without step (such as "message")
func SanitizeName ¶
SanitizeName cleans a path for archive: - filename: the path to sanitize. Return: sanitized path
Types ¶
This section is empty.
Source Files ¶
- assert.go
- call.go
- cat.go
- changelog.go
- chdir.go
- chmod.go
- classpath.go
- copy.go
- delete.go
- dotenv.go
- for.go
- if.go
- java.go
- javac.go
- link.go
- mkdir.go
- move.go
- neon.go
- notify.go
- pass.go
- path.go
- print.go
- prompt.go
- read.go
- replace.go
- request.go
- setenv.go
- shell.go
- singleton.go
- sleep.go
- start.go
- super.go
- tar.go
- threads.go
- throw.go
- time.go
- touch.go
- try.go
- untar.go
- unzip.go
- util.go
- while.go
- write.go
- zip.go
Click to show internal directories.
Click to hide internal directories.