cache

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasItem

type AliasItem string

type Import

type Import string

type ImportCache

type ImportCache struct {
	// contains filtered or unexported fields
}

ImportCache - @Constructor(type="pointer")

func NewImportCache

func NewImportCache(aliasTpl string) *ImportCache

func (*ImportCache) AddImport

func (i *ImportCache) AddImport(imp string)

func (*ImportCache) BuildImports

func (i *ImportCache) BuildImports() [][2]string

func (*ImportCache) BuildReplaceMap

func (i *ImportCache) BuildReplaceMap() map[string]string

func (*ImportCache) StoreImport

func (i *ImportCache) StoreImport(imp string) string

Jump to

Keyboard shortcuts

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