util

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(data []byte, dst string) error

func EnsureDir

func EnsureDir(dir string) error

func EnsureFile

func EnsureFile(file string) error

func GetHomeDir

func GetHomeDir() string

func Move

func Move(src, dst string) error

func ReplaceApiServerAddr added in v0.1.2

func ReplaceApiServerAddr(data []byte, addr string) ([]byte, error)

ReplaceApiServerAddr ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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