shared

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Visibility

type Visibility int

Visibility indicates repository visibility

const (
	// Public repositories are publicly visible
	Public Visibility = iota
	// Internal repositories are only visible to organization members
	Internal
	// Private repositories are only visible to authorized users
	Private
)

func VisibilityFromText

func VisibilityFromText(text string) Visibility

func (Visibility) MarshalText

func (v Visibility) MarshalText() ([]byte, error)

func (Visibility) String

func (i Visibility) String() string

func (*Visibility) UnmarshalText

func (v *Visibility) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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