utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUnusedPath

func GetUnusedPath(originalPath string) string

检查文件是否存在,并返回一个未使用的文件路径

func Go

func Go(f func(), handleError func(error))

func GoLoop

func GoLoop(ctx context.Context, f func(), handleError func(error))

func ParseNetscapeCookieFile

func ParseNetscapeCookieFile(filePath string) ([]*http.Cookie, error)

func RandString

func RandString(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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