/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/moduletest/progress_string.go
27 строк
713 B
Sarah French
chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally (#37901)
17 ноя 2025, 18:01
Не верифицирован
17 ноя 2025, 18:01
1dd8e60
Код
Авторство
О чём код?
// Code generated by "stringer -type=Progress progress.go"; DO NOT EDIT. package moduletest 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[Starting-0] _ = x[Running-1] _ = x[TearDown-2] _ = x[Complete-3] } const _Progress_name = "StartingRunningTearDownComplete" var _Progress_index = [...]uint8{0, 8, 15, 23, 31} func (i Progress) String() string { idx := int(i) - 0 if i < 0 || idx >= len(_Progress_index)-1 { return "Progress(" + strconv.FormatInt(int64(i), 10) + ")" } return _Progress_name[_Progress_index[idx]:_Progress_index[idx+1]] }