importers

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package importers helps with dynamic imports for templating

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List []string

List of imports

func (List) Format

func (l List) Format() []byte

Format the set into Go syntax (compatible with go imports)

func (List) GetSorted

func (l List) GetSorted() (List, List)

func (List) Len

func (l List) Len() int

Len implements sort.Interface.Len

func (List) Less

func (l List) Less(i, j int) bool

Less implements sort.Interface.Less

func (List) Swap

func (l List) Swap(i, j int)

Swap implements sort.Interface.Swap

Jump to

Keyboard shortcuts

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