Initialize structs with default values
☆863Aug 13, 2024Updated last year
Alternatives and similar repositories for defaults
Users that are interested in defaults are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Go structures with default values using tags☆345Aug 3, 2024Updated last year
- Mergo: merging Go structs and maps since 2013☆3,090Nov 23, 2025Updated 4 months ago
- Combine one or more Go errors together☆1,173Apr 29, 2024Updated last year
- Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving☆19,813Updated this week
- Random fake data generator written in go☆5,326Mar 4, 2026Updated 2 weeks ago
- Better structured concurrency for go☆10,334Apr 26, 2024Updated last year
- Goroutine leak detector☆5,131Dec 10, 2025Updated 3 months ago
- Simple golang library for retry mechanism☆2,902Feb 12, 2026Updated last month
- Go library for decoding generic map values into native Go structures and vice versa.☆8,045Jun 25, 2024Updated last year
- Copier for golang, copy value from struct to struct and more☆6,162Mar 14, 2026Updated last week
- 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)☆21,136Updated this week
- GoWrap is a command line tool for generating decorators for Go interfaces☆1,314Dec 11, 2025Updated 3 months ago
- Simple HTTP, REST, and SSE client library for Go☆11,584Mar 15, 2026Updated last week
- safe and easy casting from one type to another in Go☆3,949Jan 7, 2026Updated 2 months ago
- Expression language and expression evaluation for Go☆7,740Mar 13, 2026Updated last week
- The Universal Filesystem Abstraction for Go☆6,601Mar 12, 2026Updated last week
- Get JSON values quickly - JSON parser for Go☆15,462Oct 10, 2024Updated last year
- A simple, zero-dependencies library to parse environment variables into structs☆6,059Mar 1, 2026Updated 3 weeks ago
- 🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.☆2,039Dec 22, 2025Updated 3 months ago
- Pretty printing for Go values☆1,407Jul 26, 2024Updated last year
- Useful template functions for Go templates.☆4,699Jul 18, 2025Updated 8 months ago
- Building event-driven applications the easy way in Go.☆9,610Jan 5, 2026Updated 2 months ago
- Go package for dealing with maps, slices, JSON and other data.☆843Mar 9, 2026Updated 2 weeks ago
- An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language con…☆4,075Mar 23, 2024Updated 2 years ago
- Fast linters runner for Go☆18,694Updated this week
- Optimized Go Compression Packages☆5,437Updated this week
- A golang package for converting to snake_case or CamelCase☆1,132Nov 29, 2023Updated 2 years ago
- Visualise Go runtime metrics in real time☆3,625Feb 27, 2026Updated 3 weeks ago
- A Go (golang) package for representing a list of errors as a single error.☆2,558Mar 13, 2026Updated last week
- A high-performance 100% compatible drop-in replacement of "encoding/json"☆13,923May 27, 2024Updated last year
- A toolkit with common assertions and mocks that plays nicely with the standard library☆25,894Mar 4, 2026Updated 2 weeks ago
- ⚙️ A dependency injection toolkit based on Go 1.18+ Generics.☆2,684Updated this week
- Release engineering, simplified☆15,663Updated this week
- Implements string functions widely used in other languages but absent in Go.☆1,418Jun 6, 2024Updated last year
- Package for comparing Go values in tests☆4,613Mar 10, 2026Updated 2 weeks ago
- A stricter gofmt☆3,890Feb 18, 2026Updated last month
- Blazing fast, structured, leveled logging in Go.☆24,410Mar 16, 2026Updated last week
- Yaegi is Another Elegant Go Interpreter☆8,105Feb 9, 2026Updated last month
- ✨ PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus …☆5,390Mar 12, 2026Updated last week