utils

package
v0.0.0-...-ad0604f Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const NewLine = "\n"

NewLine is platform-specific new line character sequence

Variables

This section is empty.

Functions

func WriteStringln

func WriteStringln(sb *strings.Builder, s string)

WriteStringln func

func ZipFilesToFile

func ZipFilesToFile(zipFile string, perm os.FileMode, files []FileToArchive) error

ZipFilesToFile func

func ZipFilesToWriter

func ZipFilesToWriter(w *zip.Writer, files []FileToArchive) error

ZipFilesToWriter func

Types

type FileToArchive

type FileToArchive struct {
	Name, Path string
}

FileToArchive struct

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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