Documentation ¶
Index ¶
- func CollectCommits(projectId int, ctx context.Context) error
- func CollectProject(projectId int, ctx context.Context) error
- func RandStringRunes(n int) string
- func SetDevEqOnCommits(ctx context.Context) error
- type AEApiClient
- type AEApiCommit
- type AEPaginationHandler
- type ApiCommitResponse
- type ApiProjectResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandStringRunes ¶
func SetDevEqOnCommits ¶
NOTE: This only works on Commits in the Domain layer. You need to run Github or Gitlab collection and Domain layer enrichemnt first.
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.