globals

package
v0.0.0-...-1384d0f Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RootDebug      bool
	CloneRemoteUrl string
	CloneDestDir   string
)

Functions

func Debug

func Debug(message string)

func Map

func Map[K any, U any](input []K, mappingFn func(K) U) []U

Types

type ApiProfile

type ApiProfile struct {
	Adapter      string `json:"adapter"`
	Token        string `json:"token"`
	Host         string `json:"host,omitempty"`
	DefaultScope string `json:"defaultScope,omitempty"`
}

type Profile

type Profile struct {
	Name       string     `json:"name"`
	CommitName string     `json:"commitName"`
	Email      string     `json:"email"`
	Api        ApiProfile `json:"api"`
}

Jump to

Keyboard shortcuts

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