8 lines
114 B
Go
8 lines
114 B
Go
|
// set gopath before
|
||
|
//go:generate go test --coverprofile=sample.out
|
||
|
package pkg
|
||
|
|
||
|
func Sample() int {
|
||
|
return 1
|
||
|
}
|