util

package module
v0.0.0-...-3200de1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinarySearch

func BinarySearch(nums []int, target int) int

BinarySearch define

func CopyFile

func CopyFile(dstName, srcName string) (written int64, err error)

CopyFile define

func DestoryDir

func DestoryDir(path string)

DestoryDir define

func GetAllFile

func GetAllFile(pathname string, fileList *[]string) ([]string, error)

GetAllFile define

func GetChpaterFourFileNum

func GetChpaterFourFileNum(num int) string

GetChpaterFourFileNum define

func LoadChapterFourDir

func LoadChapterFourDir() ([]string, []int)

LoadChapterFourDir define

func LoadFile

func LoadFile(filePath string) ([]byte, error)

LoadFile define

func LoadSolutionsDir

func LoadSolutionsDir() ([]int, []string, int)

LoadSolutionsDir define

func WriteFile

func WriteFile(fileName string, content []byte)

WriteFile define

Types

This section is empty.

Jump to

Keyboard shortcuts

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