entities

package
v0.0.0-...-a0462ff Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateUUID

func GenerateUUID() string

Types

type Edge

type Edge struct {
	From   string `json:"from"`
	To     string `json:"to"`
	Arrows string `json:"arrows"`
}

type Error

type Error struct {
	ErrorFlag bool   `json:"error"`
	ErrorCode int    `json:"error_code"`
	Message   string `json:"message"`
}

func (*Error) Error

func (e *Error) Error() string

type Graph

type Graph struct {
	Nodes []Node `json:"nodes"`
	Edges []Edge `json:"edges"`
}

type Node

type Node struct {
	Id    string `json:"id"`
	Label string `json:"label"`

	LinkedRepository *Repository `json:"-"`
}

type Repository

type Repository struct {
	Id       string
	Name     string
	FullName string
	Owner    string
}

Jump to

Keyboard shortcuts

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