Documentation ¶
Index ¶
- type Service
- func (s *Service) CreateField(cf *models.CustomizedField) errors.Error
- func (s *Service) DeleteField(table, field string) errors.Error
- func (s *Service) GetFields(table string) ([]models.CustomizedField, errors.Error)
- func (s *Service) ImportIssue(boardId string, file io.ReadCloser) errors.Error
- func (s *Service) ImportIssueCommit(rawDataParams string, file io.ReadCloser) errors.Error
- func (s *Service) ImportIssueRepoCommit(rawDataParams string, file io.ReadCloser) errors.Error
- func (s *Service) SaveBoard(boardId, boardName string) errors.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service wraps database operations
func NewService ¶
func (*Service) CreateField ¶
func (s *Service) CreateField(cf *models.CustomizedField) errors.Error
CreateField creates a new column for the table cf.TbName and creates a new record in the table `_tool_customized_fields`
func (*Service) DeleteField ¶
DeleteField deletes the `field` form the `table`
func (*Service) ImportIssue ¶
func (*Service) ImportIssueCommit ¶
func (*Service) ImportIssueRepoCommit ¶
ImportIssueRepoCommit imports data to the table `issue_repo_commits` and `issue_commits`
Click to show internal directories.
Click to hide internal directories.