php81

package
v0.0.0-...-a3b5a27 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Int    Field = NewField("int", "0")
	String       = NewField("string", "\"\"")
	Float        = NewField("float", "0.0")
	Bool         = NewField("bool", "false")
	Mixed        = NewField("mixed", "null")
)

The definition of PHP native types

Functions

func Render

func Render(options model.Options, tables []*internal.Table) error

func RenderTable

func RenderTable(data *internal.Table) (string, error)

Types

type Field

type Field struct {
	Type    string
	Format  string
	Default string
}

func NewField

func NewField(kind string, defaultVal string) Field

Jump to

Keyboard shortcuts

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