services

package
v0.0.0-...-6d2bb2e Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blob

type Blob struct {
	Path string
	Data string
	Line int
}

type GitLabSvc

type GitLabSvc interface {
	GetGroups() ([]int, error)
	GetProjects(groupID int) ([]*Project, error)
	Search(projectID int, keyword string, amount int) ([]*Blob, error)
}

func NewGitLabService

func NewGitLabService(url, token string) (GitLabSvc, error)

type Project

type Project struct {
	ID       int
	Name     string
	Archived bool
}

Jump to

Keyboard shortcuts

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