Back to godoc.org

Package container

v0.0.0-...-cef0962
Latest Go to latest

The highest tagged major version is .

Published: Mar 3, 2020 | License: MIT | Module: github.com/codingfinest/neo4j-go-ogm-university

Index

Variables

var Mapping = map[string]Provider{
	"classes":      course{},
	"departments":  department{},
	"enrollments":  enrollment{},
	"schools":      school{},
	"students":     student{},
	"studyBuddies": studyBuddy{},
	"subjects":     subject{},
	"teachers":     teacher{},
}

Mapping maps entities to their container provider

type Provider

type Provider interface {
	GetContainer(echo.Context) (interface{}, error)
	GetContainers() interface{}
}

Provider provides the containers for the neo4j Go OGM APIs. Containers contain data for these APIs

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier