toon

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TOONEncoder

type TOONEncoder struct{}

func NewTOONEncoder

func NewTOONEncoder() *TOONEncoder

func (*TOONEncoder) CompressionRatio

func (e *TOONEncoder) CompressionRatio(original string, encoded string) float64

func (*TOONEncoder) Decode

func (e *TOONEncoder) Decode(toonInput string) (string, error)

func (*TOONEncoder) EncodeJSON

func (e *TOONEncoder) EncodeJSON(jsonInput string) (string, error)

func (*TOONEncoder) IsHomogeneous

func (e *TOONEncoder) IsHomogeneous(data interface{}) bool

Jump to

Keyboard shortcuts

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