gen

package
v0.0.0-...-2d1d673 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: 0BSD Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Jade_dubai

func Jade_dubai(obj struct {
	Onboarding Component
}, wr io.Writer)

func Jade_dubaionboarding

func Jade_dubaionboarding(obj struct {
	Children []Component
}, wr io.Writer)

func Jade_entry

func Jade_entry(s struct {
	Name     string
	Value    string
	Schema   string
	State    string
	Small    string
	Endpoint string
}, wr io.Writer)

func Jade_layout

func Jade_layout(s struct {
	Main        Component
	Domain      string
	Icon        string
	Title       string
	Description string
	Nonce       string
}, styles_RESET string, styles_SYSTEM string, wr io.Writer)

func Jade_privacy

func Jade_privacy(wr io.Writer)

func WriteAll

func WriteAll(a interface{}, escape bool, buffer *WriterAsBuffer)

func WriteBool

func WriteBool(b bool, buffer *WriterAsBuffer)

func WriteEscString

func WriteEscString(st string, buffer *WriterAsBuffer)

func WriteInt

func WriteInt(i int64, buffer *WriterAsBuffer)

func WriteUint

func WriteUint(u uint64, buffer *WriterAsBuffer)

Used part of go source: https://github.com/golang/go/blob/master/src/strconv/itoa.go

Types

type Component

type Component interface {
	Render(w io.Writer)
}

type WriterAsBuffer

type WriterAsBuffer struct {
	io.Writer
}

func (*WriterAsBuffer) WriteByte

func (w *WriterAsBuffer) WriteByte(b byte) (err error)

func (*WriterAsBuffer) WriteString

func (w *WriterAsBuffer) WriteString(s string) (n int, err error)

Jump to

Keyboard shortcuts

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