tools

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertStringIntoArray

func ConvertStringIntoArray(value string, configuration ConfigureConverts) ([]string, error)

ConvertStringIntoArray - converting from string into array of string

func FlatMap added in v0.6.2

func FlatMap(source map[string]interface{}) map[string]interface{}

func ReadFromFile added in v0.4.5

func ReadFromFile(fileName string) (*bytes.Buffer, error)

ReadFromFile - read from file to byte buffer

Types

type ConfigureConverts

type ConfigureConverts struct {
	Separator SeparatorType
}

ConfigureConverts - configuration structure for converters tools

type SeparatorType

type SeparatorType string

SeparatorType - type for configuring separators

const (
	// COMMA - separator in value is ,
	COMMA SeparatorType = ","
)

Jump to

Keyboard shortcuts

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