domain

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 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 Group

type Group struct {
	// ID is the group identifier
	ID int
	// Name is the group name
	Name string
	// Description is the group description
	Description string
	// Path is the group path
	Path string
	// WebURL is the group web url
	WebURL string
}

Group struct is a struct to represent a Gitlab group

func NewGroup

func NewGroup(id int, name, description, path, url string) Group

NewGroup creates a new Group instance

func (Group) String

func (g Group) String() string

String returns a string representation of a Group

type Project

type Project struct {
	// ID is the project identifier
	ID int
	// Name is the project name
	Name string
	// Description is the project description
	Description string
	// Path is the project path
	Path string
	// Sshurl is the project ssh url
	Sshurl string
	// Httpurl is the project http url
	Httpurl string
	// DefaultBranch is the project default branch
	DefaultBranch string
}

Project struct is a struct to represent a Gitlab project

func NewProject

func NewProject(id int, name, description, branch, path, sshurl, httpurl string) Project

NewProject creates a new Project instance

func (Project) String

func (p Project) String() string

String returns a string representation of a Project

type User

type User struct{}

User struct is a struct to represent a Gitlab user

Jump to

Keyboard shortcuts

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