visibility

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: GPL-3.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

View Source
const (
	PublicStr   = "public"
	InternalStr = "internal"
	PrivateStr  = "private"
)

The visibilities as strings

Variables

This section is empty.

Functions

This section is empty.

Types

type Visibility

type Visibility int

Visibility is the visibility of a group or a project

const (
	Public Visibility = iota + 1
	Internal
	Private
)

The visibility can be public, internal or private

func StringToVis

func StringToVis(vis string) (Visibility, error)

StringToVis converts a string to a visibility

Jump to

Keyboard shortcuts

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