github

package
v0.0.0-...-7112f6d Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package github provides ready-to-use literals for GitHub REST API

Index

Constants

This section is empty.

Variables

View Source
var GitHub = &schema.Schema{
	Name: "github",
	Blueprint: []*schema.Table{

		{
			Name: "repositories",
			Columns: []*schema.Column{
				{Name: "name", Validator: valide.String},
				{Name: "private", Validator: valide.String},
			},
			OptionKeys: []integrity.OptionKey{"username"},
		},
		{
			Name: "organizations",
			Columns: []*schema.Column{
				{Name: "name", Validator: valide.String},
				{Name: "projects", Validator: valide.Bytes},
			},
			OptionKeys: []integrity.OptionKey{"owner"},
		},
	},
}

GitHub is the hub of git

View Source
var OpenSource = &git.Community{
	&git.Team{
		AssignedSchema: "github",
		Members: []*git.Member{
			{AssignedTable: "repositories", Collab: new(repositories)},
			{AssignedTable: "organizations", Collab: new(organizations)},
		},
	},
}

OpenSource is the open source code community

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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