golibs

module
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Unlicense

README

Code Coverage Go Report Card Go Reference

golibs

Go utility packages primarily used in AdGuard projects. See the documentation for individual packages' on pkg.go.dev for more information and examples.

Directories

Path Synopsis
Package cache provides a simple LRU cache implementation
Package cache provides a simple LRU cache implementation
Package errors is a drop-in replacement and extension of the Go standard library's package errors.
Package errors is a drop-in replacement and extension of the Go standard library's package errors.
Package hostsfile provides utilities for working with system hosts files.
Package hostsfile provides utilities for working with system hosts files.
Package httphdr contains the names of HTTP headers.
Package httphdr contains the names of HTTP headers.
internal
tools module
Package ioutil contains extensions and utilities for package io from the standard library.
Package ioutil contains extensions and utilities for package io from the standard library.
Package log contains necessary logging functions
Package log contains necessary logging functions
Package mapsutil contains utilities for map handling.
Package mapsutil contains utilities for map handling.
Package mathutil contains generic helpers for common algorithms and mathematic operations.
Package mathutil contains generic helpers for common algorithms and mathematic operations.
Package netutil contains common utilities for IP, MAC, and other kinds of network addresses.
Package netutil contains common utilities for IP, MAC, and other kinds of network addresses.
sysresolv
Package sysresolv provides cross-platform functionality to discover DNS resolvers currently used by the system.
Package sysresolv provides cross-platform functionality to discover DNS resolvers currently used by the system.
urlutil
Package urlutil contains types and utilities for dealing with URLs.
Package urlutil contains types and utilities for dealing with URLs.
Package pprofutil contains utilities for pprof HTTP handlers.
Package pprofutil contains utilities for pprof HTTP handlers.
Package stringutil contains utilities for dealing with strings.
Package stringutil contains utilities for dealing with strings.
Package syncutil contains extensions and utilities for package sync from the standard library.
Package syncutil contains extensions and utilities for package sync from the standard library.
Package testutil contains utilities for common testing patterns.
Package testutil contains utilities for common testing patterns.
fakefs
Package fakefs contains fake implementations of interfaces from package io/fs from the standard library.
Package fakefs contains fake implementations of interfaces from package io/fs from the standard library.
fakeio
Package fakeio contains fake implementations of interfaces from package io from the standard library.
Package fakeio contains fake implementations of interfaces from package io from the standard library.
fakenet
Package fakenet contains fake implementations of interfaces from package net from the standard library.
Package fakenet contains fake implementations of interfaces from package net from the standard library.
Package timeutil contains types and utilities for dealing with time and duration values.
Package timeutil contains types and utilities for dealing with time and duration values.

Jump to

Keyboard shortcuts

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