serializer

package
v0.0.0-...-a9e6e50 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Container

func Container(container *model.Container) map[string]interface{}

Container returns the serialized form of the given model.

func Containers

func Containers(containers []*model.Container) []map[string]interface{}

Containers returns the serialized form of the given models.

func Object

func Object(object *model.Object) map[string]interface{}

Object returns the serialized form of the given model.

func Objects

func Objects(objects []*model.Object, prefix string) []map[string]interface{}

Objects returns the serialized form of the given models.

func TextContainers

func TextContainers(containers []*model.Container) string

TextContainers returns the text serialized form of the given models.

func TextObjects

func TextObjects(objects []*model.Object, prefix string) string

TextObjects returns the text serialized form of the given models.

Types

This section is empty.

Jump to

Keyboard shortcuts

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