Skip to content

⭐ 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.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

go-playground/pkg

Repository files navigation

pkg

Project status Lint & Test 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.
  • Retrier for helping with any fallible operation.
  • 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

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this package by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

⭐ 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.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published