fieldparser

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBFieldParser

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

DBFieldParser - объект для преобразования данных поступающих из хранилища данных в формат для внешнего использования.

func New

func New(itemSeparator string) *DBFieldParser

New - создаёт объект DBFieldParser.

func (*DBFieldParser) ParseBool

func (p *DBFieldParser) ParseBool(value string) (bool, error)

ParseBool - comment method.

func (*DBFieldParser) ParseInt64

func (p *DBFieldParser) ParseInt64(value string) (int64, error)

ParseInt64 - comment method.

func (*DBFieldParser) ParseInt64List

func (p *DBFieldParser) ParseInt64List(value string) ([]int64, error)

ParseInt64List - comment method.

func (*DBFieldParser) ParseString

func (p *DBFieldParser) ParseString(value string) (string, error)

ParseString - comment method.

func (*DBFieldParser) ParseStringList

func (p *DBFieldParser) ParseStringList(value string) ([]string, error)

ParseStringList - comment method.

Jump to

Keyboard shortcuts

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