cmd

package
v0.0.0-...-c05ab70 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Unlicense Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type SSHKey

type SSHKey struct {
	ID       float64
	Key      string
	Comment  string
	User     User
	LastEdit float64
}

type Team

type Team struct {
	ID    float64
	Users []User
	Bio   string
}

type User

type User struct {
	ID    float64
	Name  string
	Email string
	Keys  []SSHKey
}

User is a user representation used for the API

Jump to

Keyboard shortcuts

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