435c0d9fc8
This PR switches the Nomad repository from using govendor to Go modules for managing dependencies. Aspects of the Nomad workflow remain pretty much the same. The usual Makefile targets should continue to work as they always did. The API submodule simply defers to the parent Nomad version on the repository, keeping the semantics of API versioning that currently exists.
17 lines
477 B
Go
17 lines
477 B
Go
// Code generated by "stringer -type=Location location.go"; DO NOT EDIT.
|
|
|
|
package reflectwalk
|
|
|
|
import "fmt"
|
|
|
|
const _Location_name = "NoneMapMapKeyMapValueSliceSliceElemArrayArrayElemStructStructFieldWalkLoc"
|
|
|
|
var _Location_index = [...]uint8{0, 4, 7, 13, 21, 26, 35, 40, 49, 55, 66, 73}
|
|
|
|
func (i Location) String() string {
|
|
if i >= Location(len(_Location_index)-1) {
|
|
return fmt.Sprintf("Location(%d)", i)
|
|
}
|
|
return _Location_name[_Location_index[i]:_Location_index[i+1]]
|
|
}
|