class

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassMarshaler

type ClassMarshaler interface {
	FileName() string
	MarshalClass() ([]byte, error)
}

type Reader

type Reader struct {
}

func NewReader

func NewReader() *Reader

func (*Reader) ClassByConfig

func (r *Reader) ClassByConfig(cfg *config.Config) ([]*types.Class, error)

func (*Reader) ReadClass

func (r *Reader) ReadClass(cfg *config.Config, path string) (*types.Class, error)

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(path string) (*Writer, error)

func (*Writer) Write

func (w *Writer) Write(cfg *config.Config, schema *types.Class) error

Jump to

Keyboard shortcuts

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