package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

ChangeProjectStatus toggle a project between opened and closed.
ChangeProjectStatusByRepoIDAndID toggles a project between opened and closed.
DeleteAllProjectIssueByIssueIDsAndProjectIDs delete all project's issues by issue's and project's ids.
DeleteColumnByID removes all issues references to the project column.
DeleteProjectByID deletes a project from a repository.
GetAllProjectsIDsByOwnerID returns the all projects ids it owns.
GetCardConfig retrieves the types of configurations project column cards could have.
GetColumn fetches the current column of a project.
GetProjectByID returns the projects in a repository.
GetProjectForRepoByID returns the projects in a repository.
GetTemplateConfigs retrieves the template configs of configurations project columns could have.
IsCardTypeValid checks if the project column card type is valid.
IsErrProjectColumnNotExist checks if an error is a ErrProjectColumnNotExist.
IsErrProjectNotExist checks if an error is a ErrProjectNotExist.
IsTemplateTypeValid checks if the project template type is valid.
IsTypeValid checks if a project type is valid.
MoveColumnsOnProject sorts columns in a project.
NewColumn adds a new project column to a given project.
NewProject creates a new Project The title will be cut off at 255 characters if it's longer than 255 characters.
SetDefaultColumn represents a column for issues not assigned to one.
UpdateColumn updates a project column.
UpdateColumnSorting update project column sorting.
UpdateProject updates project properties.

# Constants

CardTypeImagesAndText is a project column card type that has images and text.
CardTypeTextOnly is a project column card type that is text only.
Ghost Project is a project which has been deleted.
TemplateTypeBasicKanban is a project template type that has basic predefined columns.
TemplateTypeBugTriage is a project template type that has predefined columns suited to hunting down bugs.
TemplateTypeNone is a project template type that has no predefined columns.
TypeIndividual is a type of project column that is owned by an individual.
TypeOrganization is a project that is tied to an organisation.
TypeRepository is a project that is tied to a repository.

# Variables

ColumnColorPattern is a regexp witch can validate ColumnColor.

# Structs

Column is used to represent column on a project.
ErrProjectColumnNotExist represents a "ErrProjectColumnNotExist" kind of error.
ErrProjectNotExist represents a "ProjectNotExist" kind of error.
Project represents a project.
ProjectIssue saves relation from issue to a project.
SearchOptions are options for GetProjects.

# Type aliases