zgo.at/zstd Index | Files | Directories

package zstd

import "zgo.at/zstd"

Package zstd is a collection of extensions to Go's stdlib.

Index

Package Files

zstd.go

func Deref

func Deref[T any](v *T, dv T) T

Deref dereferences the pointer v, returning dv if it's nil.

func Ptr

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

Ptr gets a pointer to t.

Directories

PathSynopsis
zboolPackage zstring implements functions for booleans.
zbytePackage zbyte implements functions for byte slices.
zcontext
zcryptoPackage zcrypto implements cryptographic helpers.
zdebugPackage zdebug implements functions useful when debugging programs.
zfilepathPackage zfilepath implements functions for manipulating filename paths.
zfloatPackage zfloat implements functions for floats.
zfmtPackage zfmt implements additional formatting functions.
zfsPackage zfs provides some extensions to the fs package.
zgoPackage zgo provides functions to work with Go source files.
zhttputilPackage zhttputil provides HTTP utility functions.
zimagePackage zimage adds functions for working with images.
zintPackage zint implements functions for ints.
zioPackage zio implements some I/O utility functions.
zjsonPackage zjson provides functions for working with JSON.
znetPackage znet contains utilities for network communication.
zosPackage zos implements functions for interfacing with the operating system.
zreflect
zruntimePackage zruntime provides utilities to interface with the Go runtime.
zstringPackage zstring implements functions for strings.
zsyncPackage zsync adds functions for synchronization.
ztestPackage ztest contains helper functions that are useful for writing tests.
ztest/fakeconnPackage fakeconn provides a "fake" net.Conn implementation.
ztest/imagePackage image contains helpers for testing image-related code.
ztimePackage ztime implements functions for date and time.
Version
v0.0.0-20220413140508-6078fed48e39 (latest)
Published
Apr 13, 2022
Platform
linux/amd64
Last checked
2 weeks ago

Tools for package owners.