utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LiveExamples []*Example

Functions

func Anchor

func Anchor(h *HTMLTagBuilder, text string) HTMLComponent

func Demo

func Demo(title string, demoPath string, sourcePath string) HTMLComponent

func ExamplesDoc

func ExamplesDoc() HTMLComponent

func PrettyFormAsJSON

func PrettyFormAsJSON(ctx *web.EventContext) HTMLComponent

Types

type Example

type Example struct {
	Title      string
	DemoPath   string
	SourcePath string
}

Jump to

Keyboard shortcuts

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