Documentation
¶
Index ¶
- func CollectCommits(projectId int, ctx context.Context) error
- func CollectProject(projectId int, ctx context.Context) error
- func ConvertCommits(ctx context.Context) error
- func RandString(n int) string
- type AEApiClient
- type AEApiCommit
- type AEPaginationHandler
- type ApiCommitResponse
- type ApiProjectResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCommits ¶ added in v0.8.0
NOTE: This only works on Commits in the Domain layer. You need to run Github or Gitlab collection and Domain layer enrichemnt first.
func RandString ¶ added in v0.8.0
Types ¶
type AEApiClient ¶
func CreateApiClient ¶
func CreateApiClient(ctx context.Context) *AEApiClient
func (*AEApiClient) FetchWithPagination ¶
func (aeApiClient *AEApiClient) FetchWithPagination(path string, pageSize int, handler AEPaginationHandler) error
fetch paginated without ANTS worker pool
type AEApiCommit ¶
type AEPaginationHandler ¶
type ApiCommitResponse ¶
type ApiCommitResponse []AEApiCommit
Click to show internal directories.
Click to hide internal directories.