feat: added fields to models

This commit is contained in:
Marvin Zhang
2024-06-19 00:17:36 +08:00
parent 9d21bad931
commit b757826867
5 changed files with 67 additions and 212 deletions

View File

@@ -9,5 +9,9 @@ type GitV2 struct {
Username string `json:"username" bson:"username"`
Password string `json:"password" bson:"password"`
CurrentBranch string `json:"current_branch" bson:"current_branch"`
AutoPull bool `json:"auto_pull" bson:"auto_pull"`
Status string `json:"status" bson:"status"`
Error string `json:"error" bson:"error"`
// settings
AutoPull bool `json:"auto_pull" bson:"auto_pull"`
}