models

package
v0.0.0-...-c1df235 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Id

type Id struct{ Path, Name string }
type Modal string
const (
	HelpModal Modal = "help-modal"
)

type ObjectPack

type ObjectPack struct {
	Path    string                               // package path
	Name    string                               // package name
	Objects map[string]map[string]gotypes.Object // filename->name->object
}

type RequestType

type RequestType string
const (
	EmptyRequest RequestType = "empty"
)

type SourcePack

type SourcePack struct {
	Path  string            `json:"path"`
	Files map[string]string `json:"files"`
}

SourcePack is the structure of the json persisted to the src.jsgo.io bucket, so use json tags to get lower case field names.

Jump to

Keyboard shortcuts

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