Go Struct

Open-source Go projects categorized as Struct

Top 21 Go Struct Projects

  • kong

    Kong is a command-line parser for Go (by alecthomas)

  • Project mention: climate "CLI Mate": a CLI library that autogenerates CLIs from structs / functions with support for nested subcommands, global / local flags, help generation from godocs, typo suggestions, shell completion and more | /r/golang | 2023-07-07

    I’ve been using https://github.com/alecthomas/kong for exposing generated protobuf structs for CLI args. How does your library compare?

  • defaults

    Initialize structs with default values (by creasty)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • goverter

    Generate type-safe Go converters by simply defining an interface

  • protoc-gen-gotag

    Add custom struct tags to protobuf generated structs

  • goq

    A declarative struct-tag-based HTML unmarshaling or scraping package for Go built on top of the goquery library

  • go-jsonstruct

    Generate Go structs from multiple JSON objects.

  • Project mention: Are you using ChatGPT internally at your company? | news.ycombinator.com | 2023-05-06
  • typex

    [TOOL/CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • binstruct

    Golang binary decoder for mapping data into the structure

  • faker

    Random fake data and struct generator for Go. (by pioz)

  • gody

    :balloon: A lightweight struct validator for Go

  • flat

    Flatten/unflatten nested map or JSON object in Golang (by nqd)

  • go-xmlstruct

    Generate Go structs from multiple XML documents.

  • go-httpheader

    A Go library for encoding structs into Header fields.

  • straf

    Convert Golang Struct To GraphQL Object On The Fly

  • go-traits

    A concept package that helps implement mixin behavior using embedded structs and hook interfaces.

  • newc

    A code generator that generates constructor code for Golang structures.

  • anyflag

    Generic implementation of Cobra Value and SliceValue types

  • gen

    gen is a generic general use Go functions library with the intention of replacing duplicated code where the same functionality is needed across multiple types, and provides a common interface for the functionality. The library is designed to be used in a wide variety of projects and is designed to be easy to use. (by devnw)

  • gobetter

    GO Better - code generator for struct required fields

  • gonfig

    Tag based configuration loader from different providers

  • textra

    A package designed to extract and work with go structs as values. Types & Tags export (by ravsii)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Struct related posts

Index

What are some of the best open-source Struct projects in Go? This list will help you:

Project Stars
1 kong 1,813
2 defaults 710
3 goverter 434
4 protoc-gen-gotag 341
5 goq 251
6 go-jsonstruct 224
7 typex 195
8 binstruct 89
9 faker 89
10 gody 66
11 flat 64
12 go-xmlstruct 59
13 go-httpheader 46
14 straf 36
15 go-traits 22
16 newc 19
17 anyflag 15
18 gen 13
19 gobetter 9
20 gonfig 7
21 textra 4

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com