feat: added modules

This commit is contained in:
Marvin Zhang
2024-06-14 15:42:50 +08:00
parent f1833fed21
commit 0b67fd9ece
626 changed files with 60104 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package interfaces
// Git interface
type Git interface {
Model
GetUrl() (url string)
SetUrl(url string)
GetAuthType() (authType string)
SetAuthType(authType string)
GetUsername() (username string)
SetUsername(username string)
GetPassword() (password string)
SetPassword(password string)
GetCurrentBranch() (currentBranch string)
SetCurrentBranch(currentBranch string)
GetAutoPull() (autoPull bool)
SetAutoPull(autoPull bool)
}