utils

package
v0.0.0-...-7ac3615 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: BSD-3-Clause-Clear Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountDirFileLines

func CountDirFileLines(path []string, postfix []string) int

*

计算指定目录指定后缀文件的行数

func EndWith

func EndWith(s, sub string) bool

func RemoveEmptyDirRecusively

func RemoveEmptyDirRecusively(absPath string)

递归删除指定目录下的空目录

func StartWith

func StartWith(s, sub string) bool

func WriteUInt32ToBigEndianBytes

func WriteUInt32ToBigEndianBytes(to []byte, value uint32)

func WriteUInt64ToBigEndianBytes

func WriteUInt64ToBigEndianBytes(to []byte, value uint64)

func WriteUShortToBigEndianBytes

func WriteUShortToBigEndianBytes(to []byte, value uint16)

Types

This section is empty.

Jump to

Keyboard shortcuts

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