testutil

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomLayout

func NewCustomLayout() extension.Extension

Types

type CustomLayout

type CustomLayout struct {
	Prefix string `json:"prefix"`
}

CustomLayout implements extension.Layout

func (CustomLayout) MarshalJSON added in v0.0.22

func (l CustomLayout) MarshalJSON() ([]byte, error)

func (CustomLayout) Name

func (l CustomLayout) Name() string

func (CustomLayout) Resolve

func (l CustomLayout) Resolve(id string) (string, error)

Jump to

Keyboard shortcuts

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