seed

package module
v0.0.0-...-d5f2000 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: MIT Imports: 13 Imported by: 0

README

seed

Seed is a tool to model/manage your project database models types powered by Prisma, GQLGen, GraphQL SDL and Go.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GQLType

type GQLType struct {
	Name string
	Body string // []byte
}

type Project

type Project struct {
	Name            string
	AbsoluteWorkDir string
	WorkDir         string
	SeedFilename    string
}

Project represents a seed project

func NewDefault

func NewDefault(name string) (*Project, error)

NewDefault returns a new default project with your project name

func (*Project) Plant

func (p *Project) Plant() error

Plant returns a segmented gqltypes from your seed file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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