templates

package
v0.0.0-...-9037792 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Greetings

func Greetings(names []string) string
func Header(pkg string, fd *gen.FileDescriptor) string

func StreamGreetings

func StreamGreetings(qw422016 *qt422016.Writer, names []string)

func StreamHeader

func StreamHeader(qw422016 *qt422016.Writer, pkg string, fd *gen.FileDescriptor)

func WriteGreetings

func WriteGreetings(qq422016 qtio422016.Writer, names []string)

func WriteHeader

func WriteHeader(qq422016 qtio422016.Writer, pkg string, fd *gen.FileDescriptor)

Types

type MarshalData

type MarshalData struct {
	Foo  int
	Bar  string
	Rows []MarshalRow
}

func (*MarshalData) JSON

func (d *MarshalData) JSON() string

func (*MarshalData) StreamJSON

func (d *MarshalData) StreamJSON(qw422016 *qt422016.Writer)

func (*MarshalData) StreamXML

func (d *MarshalData) StreamXML(qw422016 *qt422016.Writer)

func (*MarshalData) WriteJSON

func (d *MarshalData) WriteJSON(qq422016 qtio422016.Writer)

func (*MarshalData) WriteXML

func (d *MarshalData) WriteXML(qq422016 qtio422016.Writer)

func (*MarshalData) XML

func (d *MarshalData) XML() string

type MarshalRow

type MarshalRow struct {
	Msg string
	N   int
}

Jump to

Keyboard shortcuts

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