pkg

module
v5.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT

README

pkg

Project status Build Status Coverage Status GoDoc License

pkg extends the core Go packages with missing or additional functionality built in. All packages correspond to the std go package name with an additional suffix of ext to avoid naming conflicts.

Motivation

This is a place to put common reusable code that is not quite a library but extends upon the core library, or it's failings.

Install

go get -u github.com/go-playground/pkg/v5

Highlights

  • Generic Doubly Linked List.
  • Result & Option types
  • Generic Mutex and RWMutex.
  • Bytes helper placeholders units eg. MB, MiB, GB, ...
  • Detachable context.
  • Error retryable helper functions.
  • Proper RFC3339Nano definition.
  • unsafe []byte->string & string->[]byte helper functions.
  • HTTP helper functions and constant placeholders.
  • And much, much more.

How to Contribute

Make a pull request... can't guarantee it will be added, going to strictly vet what goes in.

License

Distributed under MIT License, please see license file within the code for more details.

Directories

Path Synopsis
container
net
url
values

Jump to

Keyboard shortcuts

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