gox

package module
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: MIT, Apache-2.0 Imports: 0 Imported by: 3

README

utils

Standard library extensions

各种工具库

scheduler

engine

一个任务调度框架,可以控制goroutine数量,任务失败重试,任务衍生子任务执行,任务检测,任务统计

crawler

爬虫框架,基于scheduler/engine

dao

各种常用dao的封装

database

数据库操作封装,主要针对gorm扩展开发

eflag

通过环境变量 flag 注入结构体

log

zap的二次封装,开箱即用

iter

标准库iter的扩展,stream操作实现

net

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Match

func Match[T any](yes bool, a, b T) T

func Nil

func Nil[T any]() T

func Pointer

func Pointer[T any](t T) *T

func TernaryOperator

func TernaryOperator[T any](v bool, a, b T) T

func Zero

func Zero[T any]() T

func Zero2

func Zero2[T any]() T

Types

This section is empty.

Directories

Path Synopsis
archive
zip
consistenthash
Package consistenthash provides an implementation of a ring hash.
Package consistenthash provides an implementation of a ring hash.
set
crypto
aes
md5
tls
database
sql
gerber/svg
Package svg parses Gerber to SVG.
Package svg parses Gerber to SVG.
m3u8
Partial reference https://github.com/grafov/m3u8/blob/master/reader.go
Partial reference https://github.com/grafov/m3u8/blob/master/reader.go
io
log
media
net
url
os
fs
shm
win
aop
sdk
aws
go
k8s
Match provides a simple pattern matcher with unicode support.
Match provides a simple pattern matcher with unicode support.
map
text
tools
ddns command
gerber command
goat command
proxy command
tcp/client command
tcp/server command
x509 command

Jump to

Keyboard shortcuts

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