init from gitlab

This commit is contained in:
texm
2023-04-25 14:33:14 +08:00
parent 6a85a41ff0
commit c8202a5c82
281 changed files with 19861 additions and 1 deletions

21
internal/models/github.go Normal file
View File

@@ -0,0 +1,21 @@
package models
import (
"gorm.io/gorm"
)
type GithubApp struct {
gorm.Model
AppId int64
NodeId string
ClientId string
Name string
Slug string
ClientSecret string
WebhookSecret string
PEM string
}
func (GithubApp) TableName() string {
return "github_app"
}