ent

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	*basic.Project
}

Project is a project configuration for ent projects

func New

func New(option ...ProjectOption) *Project

New creates a new ent project

func (*Project) Init

func (p *Project) Init(Name string, ParentPackageName string, GeneratedFilePrefix string) error

type ProjectOption

type ProjectOption = func(project *Project) error

func WithBasicProjectOption

func WithBasicProjectOption(option basic.ProjectOption) ProjectOption

Jump to

Keyboard shortcuts

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