utils

package
v0.0.0-...-4d63a85 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCharmap

func DecodeCharmap(s string, c string) string

DecodeCharmap decode string from charmap

func EncodeCharmap

func EncodeCharmap(s string, c string) string

EncodeCharmap encode string to charmap

func FileExists

func FileExists(filename string) bool

FileExists Check file exists

func NamesEqual

func NamesEqual(f string, s string) bool

NamesEqual compare names

func ReadStructFromBuffer

func ReadStructFromBuffer(buffer *bytes.Buffer, data interface{}) error

ReadStructFromBuffer is reading from buffer to struct

func WriteStructToBuffer

func WriteStructToBuffer(buffer *bytes.Buffer, data interface{}) error

WriteStructToBuffer is reading from struct to buffer

Types

This section is empty.

Jump to

Keyboard shortcuts

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