mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-04 00:28:48 +00:00
chore: Add Struct required tags and Server Struct Validator (#5371)
Signed-off-by: X-Guardian <32168619+X-Guardian@users.noreply.github.com>
This commit is contained in:
@@ -13,10 +13,10 @@ import (
|
||||
|
||||
// GithubAppController handles the creation and setup of a new GitHub app
|
||||
type GithubAppController struct {
|
||||
AtlantisURL *url.URL
|
||||
Logger logging.SimpleLogging
|
||||
AtlantisURL *url.URL `validate:"required"`
|
||||
Logger logging.SimpleLogging `validate:"required"`
|
||||
GithubSetupComplete bool
|
||||
GithubHostname string
|
||||
GithubHostname string `validate:"required"`
|
||||
GithubOrg string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user