project

package
v1.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2018 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddProjectMember

func AddProjectMember(member models.Member) (int, error)

AddProjectMember inserts a record to table project_member

func DeleteProjectMemberByID

func DeleteProjectMemberByID(pmid int) error

DeleteProjectMemberByID - Delete Project Member by ID

func GetProjectMember

func GetProjectMember(queryMember models.Member) ([]*models.Member, error)

GetProjectMember gets all members of the project.

func SearchMemberByName

func SearchMemberByName(projectID int64, entityName string) ([]*models.Member, error)

SearchMemberByName search members of the project by entity_name

func UpdateProjectMemberRole

func UpdateProjectMemberRole(pmID int, role int) error

UpdateProjectMemberRole updates the record in table project_member, only role can be changed

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL