Files
base/internal/pkg/oauth/provider_string.go
2026-04-10 18:25:21 +03:30

29 lines
733 B
Go

// Code generated by "stringer -type=Provider"; DO NOT EDIT.
package oauth
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[Unknown-0]
_ = x[Credentials-1]
_ = x[Google-2]
_ = x[GitHub-3]
_ = x[Linkedin-4]
_ = x[Mock-5]
}
const _Provider_name = "UnknownCredentialsGoogleGitHubLinkedinMock"
var _Provider_index = [...]uint8{0, 7, 18, 24, 30, 38, 42}
func (i Provider) String() string {
if i < 0 || i >= Provider(len(_Provider_index)-1) {
return "Provider(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Provider_name[_Provider_index[i]:_Provider_index[i+1]]
}