Documentation ¶
Index ¶
- func CountCommitsByProjectUUID(projectID string) (*int64, error)
- func CreateCommit(c *account.Commit) error
- func CreateProject(p *account.Project) error
- func CreateUser(u *account.User) error
- func DeleteProject(p *account.Project) error
- func DropCommitTable()
- func DropProjectTable()
- func DropUserTable()
- func GetCommitsByProjectUUID(projectID string) (*[]account.Commit, error)
- func GetCommitsInTimeWindow(project *account.Project) (*[]account.Commit, error)
- func GetProjectByUUID(projectID string) (*account.Project, error)
- func GetUserByExternalID(id string) (*account.User, error)
- func GetUserProjectById(userId int64, projectId string) (*account.Project, error)
- func GetUserProjectByNameOrURL(userId int64, name string, url string) (*account.Project, error)
- func GetUserProjects(userId int64) (*[]account.Project, error)
- func InitDB()
- func MigrateDBModels()
- func UpdateCommit(c *account.Commit) error
- func UpdateProject(p *account.Project) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCommit ¶
func CreateProject ¶
func CreateUser ¶
func DeleteProject ¶
func DropCommitTable ¶
func DropCommitTable()
func DropProjectTable ¶
func DropProjectTable()
func DropUserTable ¶
func DropUserTable()
func GetCommitsByProjectUUID ¶
func GetCommitsInTimeWindow ¶
func GetUserProjectById ¶
func MigrateDBModels ¶
func MigrateDBModels()
func UpdateCommit ¶
func UpdateProject ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.