utils

package module
v0.0.0-...-991e38e Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 4 Imported by: 0

README

Go Reference

GET

go get github.com/g0rbe/go-utils

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string, perm fs.FileMode) error

CopyFile copies file from src to dst. If dst not exists create it with mode perm (before umask). If exists, then truncate it.

func ToStringSlice

func ToStringSlice(s []fmt.Stringer) []string

ToStringSlice convert any type of slice to []string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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