gopkg

January 29, 2026 ยท View on GitHub

Go Reference

gopkg is a universal utility collection for Go, it complements offerings such as Boost, Better std, Cloud tools.

Table of Contents

Introduction

gopkg is a universal utility collection for Go, it complements offerings such as Boost, Better std, Cloud tools. It is migrated from the internal code base at ByteDance and has been extensively adopted in production.

We depend on the same code(this repo) in our production environment.

Catalogs

  • cache: Caching Mechanism
  • cloud: Cloud Computing Design Patterns
  • collection: Data Structures
  • lang: Enhanced Standard Libraries
  • util: Utilities Useful across Domains

Releases

gopkg recommends using the latest tagged version for stability. We develop on the main branch and create tagged releases when stable.

How To Use

You can use go get -u github.com/bytedance/gopkg@latest to get or update gopkg.

License

gopkg is licensed under the terms of the Apache license 2.0. See LICENSE for more information.