Ignore generated go files

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-21 13:55:05 +08:00
parent 2d6f6700f0
commit f03d472c30
8 changed files with 3 additions and 88 deletions

View File

@@ -1,13 +0,0 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
CommonErrorPermissionDenied = "00004"
CommonErrorUuidParseFailed = "00005"
CommonErrorDatabase = "00006"
CommonErrorMissingUserId = "00007"
CommonErrorUserNotFound = "00008"
CommonErrorInvalidInput = "00001"
CommonErrorUnauthorized = "00002"
CommonErrorInternal = "00003"
)

View File

@@ -1,20 +0,0 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
EndpointAuthServiceRefresh = "04"
EndpointAuthServiceExchange = "05"
EndpointAuthServiceRedirect = "01"
EndpointAuthServiceMagic = "02"
EndpointAuthServiceToken = "03"
EndpointEventServiceInfo = "01"
EndpointEventServiceCheckin = "02"
EndpointEventServiceCheckinQuery = "03"
EndpointEventServiceCheckinSubmit = "04"
EndpointUserServiceInfo = "01"
EndpointUserServiceUpdate = "02"
EndpointUserServiceList = "03"
EndpointUserServiceFull = "04"
EndpointUserServiceCreate = "05"
EndpointMiddlewareService = "01"
)

View File

@@ -1,9 +0,0 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
MiddlewareGinLogger = "901"
MiddlewareJwt = "902"
MiddlewarePermission = "903"
MiddlewareApiVersion = "904"
)

View File

@@ -1,8 +0,0 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
ServiceAuth = "001"
ServiceUser = "002"
ServiceEvent = "003"
)

View File

@@ -1,22 +0,0 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
ApiVersionNotFound = "00001"
AuthRedirectUriMismatch = "00003"
AuthRedirectInvalidUri = "00004"
AuthRedirectTokenInvalid = "00001"
AuthRedirectClientNotFound = "00002"
AuthMagicInvalidExternalUrl = "00003"
AuthMagicInvalidEmailConfig = "00004"
AuthMagicTurnstileFailed = "00001"
AuthMagicCodeGenFailed = "00002"
AuthTokenInvalidToken = "00001"
AuthTokenGenFailed = "00002"
AuthRefreshInvalidToken = "00001"
AuthRefreshRenewFailed = "00002"
AuthExchangeGetUserIdFailed = "00001"
AuthExchangeCodeGenFailed = "00002"
AuthExchangeInvalidRedirectUri = "00003"
UserListMeilisearchFailed = "00001"
)

View File

@@ -1,9 +0,0 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
StatusUser = "4"
StatusServer = "5"
StatusClient = "6"
StatusSuccess = "2"
)

View File

@@ -1,7 +0,0 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
TypeCommon = "1"
TypeSpecific = "0"
)