helpers

package
v0.0.0-...-846a3b6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string) (err error)

CopyFile creates a copy of file

func FileExists

func FileExists(filename string) bool

FileExists checks if a file exists and is not a directory

func GetDistanceFromLatLonInKm

func GetDistanceFromLatLonInKm(lat1, lon1, lat2, lon2 float64) float64

GetDistanceFromLatLonInKm calc distance betwee two points

func ValidateBase64

func ValidateBase64(base64str string) bool

ValidateBase64 is validating if a string fits base64 format (contains only base64 characters set and have correct format)

Types

type ErrorNotImplemented

type ErrorNotImplemented struct {
	Caller string
}

ErrorNotImplemented - functionality not implemented

func NewErrNotImplemented

func NewErrNotImplemented() ErrorNotImplemented

NewErrNotImplemented - create not implemented error

func (ErrorNotImplemented) Error

func (e ErrorNotImplemented) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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