symbol

package
v0.0.0-...-8f0799a Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SymbolRepo

type SymbolRepo interface {
	Get(code string) *symbols.Symbol
	Image(code string) fyne.Resource
}

func NewSymbolRepo

func NewSymbolRepo(client *goscryfall.Client, loader func(string) ([]byte, error)) SymbolRepo

type SymbolRepoImpl

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

func (*SymbolRepoImpl) Get

func (r *SymbolRepoImpl) Get(code string) *symbols.Symbol

func (*SymbolRepoImpl) Image

func (r *SymbolRepoImpl) Image(code string) fyne.Resource

Jump to

Keyboard shortcuts

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