init from gitlab
This commit is contained in:
21
internal/models/github.go
Normal file
21
internal/models/github.go
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user