goCmd

package
v0.0.0-...-05317bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2015 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommandList

func AddCommandList()

func GoCommand

func GoCommand()

run go command in current project 1.go build -i github.com/xxx/xxx use to get fastest speed of build. 2.try remove pkg directory if you found you change is ignore.

func GoEnvCmd

func GoEnvCmd()

use `kmg goenv` to setup current work project GOPATH

func GoFmtDir

func GoFmtDir(path string) error

func GoRunCmd

func GoRunCmd()

go install bug

Types

type GoCrossCompile

type GoCrossCompile struct {
	// contains filtered or unexported fields
}

type GoTest

type GoTest struct {
	// contains filtered or unexported fields
}

递归目录的 go test

TODO 处理多个GOPATH的问题,从GOPATH里面找到这个模块
支持.kmg.yml目录结构提示文件(该文件必须存在)
-v 更详细的描述
-m 一个模块名,从这个模块名开始递归目录测试
-d 一个目录名,从这个目录开始递归目录测试

Directories

Path Synopsis
testWorkspace

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL