stdx

module
v0.0.0-...-0941746 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: AGPL-3.0

README

Go libraries that I reuse across my projects. NOT SAFE FOR PUBLIC USE ☢️

The code is licensed under AGPL-3.0 (see LICENSE.txt)

Libs

barcode is a fork of https://git.sr.ht/~pingoo/stdx/barcode commit 65580ac6e377baeeebd5bb702e15795ead22e48d - License: MIT

cobra is a fork of https://github.com/spf13/cobra commit 212ea4078323771dc49b6f25a41d84efbaac3a4c to remove a lot of dependencies (doc directory deleted) - License: Apache 2.0

$ cd cobra && rm -rf doc go.mod go.sum && cd ..

concurrentmap is a fork of https://github.com/orcaman/concurrent-map commit 85296bce05256a80153a9e0c2bf6f4e167a4fe8d - License: MIT

cors is a fork of https://github.com/rs/cors commit fcebdb403f4d4585c705318c0e4d6d05a761a4ab - License: MIT

cpuinfo is a fork of https://github.com/klauspost/cpuid commit d685acd433f5dde4e315aa5b1eb8e72b9ecce117 - License: MIT

cron is a fork of https://github.com/robfig/cron commit bc59245fe10efaed9d51b56900192527ed733435 - License: MIT

crypto/chacha is a fork of https://github.com/aead/chacha20 commit 8b13a72661dae6e9e5dea04f344f0dc95ea29547 - License: MIT

feeds is a fork of https://github.com/jlelse/feeds commit 189f94254ad4b61b3b1908cf493f94390dc79870 - License: BSD 2-Clause

goldmark-highlighting is a fork of https://github.com/yuin/goldmark-highlighting commit 151362477c8778cdfd54adeea5cb3405231f3018 - License: MIT

hostrouter is a fork of https://github.com/go-chi/hostrouter commit 03da900f6d45aaf0d5a1f392e2bafe8437ae5102 - License: MIT

imaging is a fork of https://github.com/disintegration/imaging commit d40f48ce0f098c53ab1fcd6e0e402da682262da5 - License: MIT

migrate is a fork of https://github.com/joncalhoun/migrate commit 34a9ee7d2b52f7b9f2261c2b6d9a8a0a83890a7f - License: MIT (see https://www.calhoun.io/database-migrations-in-go/)

mmdb is a fork of https://git.sr.ht/~pingoo/stdx/mmdb commit 93d288be3cd9f86d28e7e2ad6b3950368a6cd152 - License: ISC

namesgenerator is a fork of https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go commit 0f052eb4f56c05dcb8c444823ebde6ce0fac7197 - Licesne: Apache 2.0

otp is a fork of https://git.sr.ht/~pingoo/stdx/otp commit c62dc589378ae5c364d36819ddfb03fe391635ad - License: Apache 2.0

retry is a fork of https://github.com/avast/retry-go commit 27363a141859f4031a7726c5bffcd670fb42d286 - License: MIT

schema is a fork of https://github.com/gorilla/schema.git commit 5fca2dce7a3a9cde2cd764a822ae373b4aaaaece - License: BSD-3-Clause

singleinstance is a fork of https://github.com/snabb/sitemap commit ac70ad656cd7f36cc5623306806a3583707c9a56 - License: MIT

sitemap is a fork of https://github.com/postfinance/singlecommit 43dccf267e7c560d78380cbc074044ee27fb6e97 - License: MIT

sysinfo is a fork of https://git.sr.ht/~pingoo/stdx/sysinfo commit 99e836ba64f229922382eecd8a346e6b3d1b560a - License: MIT

toml is a fork of https://git.sr.ht/~pingoo/stdx/toml commit 1ba7f5b05951c7331f4eefea9bce295e2cb141f2 - License: MIT

useragent is a fork of https://github.com/mileusna/useragent commit f0b3dcfa90b239ba5323bded5eb433e3b7250b29 - License: MIT

uuid is a fork of https://github.com/google/uuid commit 0f11ee6918f41a04c201eceeadf612a377bc7fbc - License: BSD-3 Clause

validate is a fork of https://github.com/asaskevich/govalidator commit f21760c49a8d602d863493de796926d2a5c1138d - License: MIT

Maintenance

$ go get -u ./...
$ go mod tidy

Directories

Path Synopsis
aztec
Package aztec can create Aztec Code barcodes
Package aztec can create Aztec Code barcodes
codabar
Package codabar can create Codabar barcodes
Package codabar can create Codabar barcodes
code128
Package code128 can create Code128 barcodes
Package code128 can create Code128 barcodes
code39
Package code39 can create Code39 barcodes
Package code39 can create Code39 barcodes
code93
Package code93 can create Code93 barcodes
Package code93 can create Code93 barcodes
datamatrix
Package datamatrix can create Datamatrix barcodes
Package datamatrix can create Datamatrix barcodes
ean
Package ean can create EAN 8 and EAN 13 barcodes.
Package ean can create EAN 8 and EAN 13 barcodes.
pdf417
Package pdf417 can create PDF-417 barcodes
Package pdf417 can create PDF-417 barcodes
qr
Package qr can be used to create QR barcodes.
Package qr can be used to create QR barcodes.
twooffive
Package twooffive can create interleaved and standard "2 of 5" barcodes.
Package twooffive can create interleaved and standard "2 of 5" barcodes.
utils
Package utils contain some utilities which are needed to create barcodes
Package utils contain some utilities which are needed to create barcodes
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
package cpuinfo provides information about the CPU running the current program.
package cpuinfo provides information about the CPU running the current program.
cmd/cpuid
package cpuinfo provides information about the CPU running the current program.
package cpuinfo provides information about the CPU running the current program.
Package cron implements a cron spec parser and job runner.
Package cron implements a cron spec parser and job runner.
Package crypto provides a high level, secure, easy to use, and hard to misuse API to common cryptographic operations.
Package crypto provides a high level, secure, easy to use, and hard to misuse API to common cryptographic operations.
chacha
Package chacha implements some low-level functions of the ChaCha cipher family.
Package chacha implements some low-level functions of the ChaCha cipher family.
chacha20
Package chacha20 implements the ChaCha20 / XChaCha20 stream chipher.
Package chacha20 implements the ChaCha20 / XChaCha20 stream chipher.
internal/blake3
Package blake3 implements the BLAKE3 cryptographic hash function.
Package blake3 implements the BLAKE3 cryptographic hash function.
kdf
Package email provides an easy to use and hard to misuse email API
Package email provides an easy to use and hard to misuse email API
ses
Syndication (feed) generator library for golang.
Syndication (feed) generator library for golang.
package highlighting is a extension for the goldmark(http://github.com/yuin/goldmark).
package highlighting is a extension for the goldmark(http://github.com/yuin/goldmark).
Package guid helps generate and parse GUIDs.
Package guid helps generate and parse GUIDs.
cors
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/
Package imaging provides basic image processing functions (resize, rotate, crop, brightness/contrast adjustments, etc.).
Package imaging provides basic image processing functions (resize, rotate, crop, brightness/contrast adjustments, etc.).
log
slogx
package slogx provides various helpers to wrok with the stdlib's "log/slog" package see https://pkg.go.dev/log/slog https://gist.github.com/wijayaerick/de3de10c47a79d5310968ba5ff101a19 https://github.com/golang/go/issues/56345 https://go.googlesource.com/proposal/+/master/design/56345-structured-logging.md https://github.com/golang/go/wiki/Resources-for-slog
package slogx provides various helpers to wrok with the stdlib's "log/slog" package see https://pkg.go.dev/log/slog https://gist.github.com/wijayaerick/de3de10c47a79d5310968ba5ff101a19 https://github.com/golang/go/issues/56345 https://go.googlesource.com/proposal/+/master/design/56345-structured-logging.md https://github.com/golang/go/wiki/Resources-for-slog
package mmdb provides a reader for the MaxMind DB file format.
package mmdb provides a reader for the MaxMind DB file format.
money
vat
Package namesgenerator generates random names.
Package namesgenerator generates random names.
package opt provides optional types.
package opt provides optional types.
package otc provides alphanumeric One Time Codes that can be used for email-based 2FA, account verification and more.
package otc provides alphanumeric One Time Codes that can be used for email-based 2FA, account verification and more.
otp
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner.
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner.
Simple library for retry mechanism
Simple library for retry mechanism
Package gorilla/schema fills a struct with form values.
Package gorilla/schema fills a struct with form values.
Package singleinstance provides a mechanism to ensure, that only one instance of a program is running
Package singleinstance provides a mechanism to ensure, that only one instance of a program is running
s3
Package sysinfo is a Go library providing Linux OS / kernel / hardware system information.
Package sysinfo is a Go library providing Linux OS / kernel / hardware system information.
cmd/sysinfo
sysinfo is a very simple utility demonstrating sysinfo library capabilities.
sysinfo is a very simple utility demonstrating sysinfo library capabilities.
cpuid
Package cpuid gives Go programs access to CPUID opcode.
Package cpuid gives Go programs access to CPUID opcode.
Package toml implements decoding and encoding of TOML files.
Package toml implements decoding and encoding of TOML files.
cmd/toml-test-decoder
Command toml-test-decoder satisfies the toml-test interface for testing TOML decoders.
Command toml-test-decoder satisfies the toml-test interface for testing TOML decoders.
cmd/toml-test-encoder
Command toml-test-encoder satisfies the toml-test interface for testing TOML encoders.
Command toml-test-encoder satisfies the toml-test interface for testing TOML encoders.
cmd/tomlv
Command tomlv validates TOML documents and prints each key's type.
Command tomlv validates TOML documents and prints each key's type.
tools
watchgod
watchgod is a very simple compile daemon for Go.
watchgod is a very simple compile daemon for Go.
Package uuid generates and inspects UUIDs.
Package uuid generates and inspects UUIDs.
Package govalidator is package of validators and sanitizers for strings, structs and collections.
Package govalidator is package of validators and sanitizers for strings, structs and collections.

Jump to

Keyboard shortcuts

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