util

package
Version: v0.0.15 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: AGPL-3.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

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

func DocPathToName added in v0.0.4

func DocPathToName(p string) (name string, ext string)

DocPathToName extracts the file name and file extension (without .) from a given path

func IsFileTypeSupported added in v0.0.12

func IsFileTypeSupported(ext string) bool

func SplitPath

func SplitPath(path string) []string

func ToIOReader

func ToIOReader(source interface{}) (io.Reader, error)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL