Generated load location stringer file
This commit is contained in:
parent
95b25bfa1c
commit
3a2b8bd733
25
internal/core/loadlocation_string.go
Normal file
25
internal/core/loadlocation_string.go
Normal file
@ -0,0 +1,25 @@
|
||||
// Code generated by "stringer -type=LoadLocation -linecomment ./internal/core/vagrantfile.go"; DO NOT EDIT.
|
||||
|
||||
package core
|
||||
|
||||
import "strconv"
|
||||
|
||||
func _() {
|
||||
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||
// Re-run the stringer command to generate them again.
|
||||
var x [1]struct{}
|
||||
_ = x[VAGRANTFILE_BOX-0]
|
||||
_ = x[VAGRANTFILE_BASIS-1]
|
||||
_ = x[VAGRANTFILE_PROJECT-2]
|
||||
}
|
||||
|
||||
const _LoadLocation_name = "BoxBasisProject"
|
||||
|
||||
var _LoadLocation_index = [...]uint8{0, 3, 8, 15}
|
||||
|
||||
func (i LoadLocation) String() string {
|
||||
if i >= LoadLocation(len(_LoadLocation_index)-1) {
|
||||
return "LoadLocation(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _LoadLocation_name[_LoadLocation_index[i]:_LoadLocation_index[i+1]]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user