src

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sync

func Sync(schema *Schema, client *github.Client)

Types

type Label

type Label struct {
	Name        string `json:"name"`
	Color       string `json:"color"`
	Description string `json:"description"`
}

type Repository

type Repository struct {
	Owner  string  `yaml:"owner"`
	Name   string  `yaml:"name"`
	Labels []Label `yaml:"labels"`
}

type Schema

type Schema struct {
	Repositories []Repository `yaml:"repositories"`
}

func LoadSchema

func LoadSchema(path string) (*Schema, error)

Jump to

Keyboard shortcuts

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