Showing 41 open source projects for "structs"

View related business solutions
  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
    Start Free
  • Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
    Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

    General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

    Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
    Start Free
  • 1
    Jingo

    Jingo

    This package provides the ability to encode golang structs

    This package provides the ability to encode Golang structs to a buffer as JSON. Buffer is a simple custom buffer type that complies with io.Writer. Its main benefit is that it has a pooling built-in. This goes a long way to helping make jingo fast by reducing its allocations and ensuring good write speeds. When you create an instance of an encoder it recursively generates an instruction set that defines how to iteratively encode your structs.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 2
    goqu

    goqu

    SQL builder and query library for golang

    ...Built from the ground up with multiple dialects in mind. Insert, multi insert, update, and delete support. Scanning of rows to struct[s] or primitive value[s]. While goqu may support the scanning of rows into structs it is not intended to be used as an ORM if you are looking for common ORM features like associations, or hooks I would recommend looking at some of the great ORM libraries. The test suite requires a postgres, mysql and sqlserver databases.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 3
    GoCity

    GoCity

    Code City metaphor for visualizing Go source code in 3D

    GoCity is an implementation of the Code City metaphor for visualizing Go source code. The UI is built with React and uses babylon.js to plot 3D structures. The front-end source code is available in the front-end branch. The Number of Lines of Source Code (LOC) represents the build color (high values makes the building dark) The Number of Variables (NOV) correlates to the building's base size. The Number of methods (NOM) correlates to the building height.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 4
    SJSON

    SJSON

    Set JSON values very quickly in Go

    ...It supports many data types (numbers, strings, bools, arrays, maps), raw byte paths, and options for in-place replacement. Because it avoids full unmarshalling into structs, it is very efficient for many use-cases where you just need to tweak a JSON document quickly. Paths support appending to arrays, creating intermediate structures if missing, and deleting (via the Delete function). It’s ideal for manipulating JSON dynamically in Go without bulky models.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 99.99% Uptime for MySQL and PostgreSQL Databases Icon
    99.99% Uptime for MySQL and PostgreSQL Databases

    Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

    Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
    Start Free
  • 5
    go-fundamental-programming

    go-fundamental-programming

    Set of video and voice tutorials for the Go language

    ...This structure allows students to quickly jump to specific topics in the video without scrubbing blindly through the timeline. The syllabus goes from environment setup and basic syntax to types and variables, constants and operators, control statements, arrays, slices, maps, functions, structs, methods, interfaces, reflection, and concurrency, before finishing with a “projects and pitfalls” session.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    high-performance-go

    high-performance-go

    high performance coding with golang

    ...It teaches developers how to measure performance before attempting optimization. Benchmarking and pprof are used to identify bottlenecks and compare implementation choices. The material examines strings, slices, loops, reflection, empty structs, and memory alignment. It also explores concurrency performance through mutexes, goroutine control, sync.Pool, sync.Once, and sync.Cond. Additional chapters cover compiler optimization, escape analysis, dead-code elimination, binary size, and common Go traps.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    govalidator

    govalidator

    Package of validators and sanitizers for strings, numerics, etc.

    ...This is disabled by default for consistency, but some packages that need to be able to determine between nil and zero value state can use this. If disabled, both nil and zero values cause validation errors. If you want to validate structs, you can use tag valid for any field in your structure. All validators used with this field in one tag are separated by comma.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 8
    Protocol Buffers for Go with Gadgets

    Protocol Buffers for Go with Gadgets

    Protocol Buffers for Go with Gadgets

    ...If you are still using v1.2.1 and you update your dependencies, one of which could include a new *pb.go (generated with v1.3.0), you could get a compile time error. Customizing the fields of the messages to be the fields that you actually want to use removes the need to copy between the structs you use and structs you use to serialize. gogoprotobuf also offers more serialization formats and generation of tests and even more methods.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    gen

    gen

    Converts a database into gorm structs and RESTful api

    The gen tool produces a CRUD (Create, read, update and delete) REST API project template from a given database. The gen tool will connect to the db connection string analyze the database and generate the code based on the flags provided. By reading details from the database about the column structure, gen generates a go-compatible struct type with the required column names, data types, and annotations. It supports gorm tags and implements some usable methods. Generated data types include...
    Downloads: 5 This Week
    Last Update:
    See Project
  • $300 Free Credits to Build on Google Cloud Icon
    $300 Free Credits to Build on Google Cloud

    New customers can spin up VMs, build with AI, and query data at no cost.

    Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
    Start Free
  • 10
    Gizmo Microservice Toolkit

    Gizmo Microservice Toolkit

    A Microservice Toolkit from The New York Times

    ...This meant that they varied from team to team and project to project with regard to structure, naming conventions and third-party tools. As we started building more and more APIs, the pains of microservices started to become apparent. The config package provides a set of common, composable structs for working with tools common to the technology currently at The New York Times.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    gofuzz

    gofuzz

    Fuzz testing for go

    gofuzz is a lightweight fuzzing utility for Go that rapidly generates randomized, edge-case-heavy inputs to populate structs, maps, slices, and scalar fields. It’s engineered to make property tests productive by automatically traversing nested types and supplying varied values, including zero values, extremes, and random strings or byte sequences. Because it respects Go’s type system, it can generate valid shapes for complex generic or composite types with very little setup.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    anno

    anno

    Go package for text annotation

    ...There are two parts to anno, the first is a series of Finder functions that look for interesting articles (which it calls `Notes`) inside the text, returning a slice of Note structs. The second is the Expander, which replaces the text in each Note with something else, like the HTML for a link or something. It tells you the bytes that it found, the `Start` index and a string describing the kind of `Note`. The kind is useful for when you run pass `Finder` objects to the `FindMany` or `FindManyString` functions. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    Structs

    Structs

    Utilities for Go structs

    ...Just like the standard lib strings, bytes and co packages, structs has many global functions to manipulate or organize your struct data. Lets define and declare a struct. The structs functions can be also used as independent methods by creating a new *structs.Struct. This is handy if you want to have more control over the structs (such as retrieving a single Field). Structs containPackage structs contains various utilities functions to work with structs various utilities to work with Go (Golang) structs.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 14
    go-kallax

    go-kallax

    Kallax is a PostgreSQL typesafe ORM for the Go language

    go-kallax is a type-safe ORM for Go, designed to work seamlessly with PostgreSQL. It generates Go code from your database schema using model definitions, allowing for clean and performant data access without raw SQL. The library is built with Go idioms in mind and focuses on compile-time safety and ease of use.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 15
    GoCasts

    GoCasts

    Companion repo to a course on Udemy

    ...The repository is meant to help learners practice Go fundamentals through concrete examples rather than only reading syntax explanations. It covers beginner and intermediate Go concepts such as packages, structs, interfaces, maps, slices, channels, routines, testing, and program organization. Students can use the code to compare their own implementations with the course examples. It is best suited as a guided learning resource for developers who want a structured introduction to Go through hands-on exercises.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16
    Go XORM

    Go XORM

    Simple and Powerful ORM for Go

    ...It provides a clean API for interacting with databases, supporting multiple database systems. XORM simplifies database operations by allowing developers to work with Go structs instead of writing raw SQL queries.
    Downloads: 10 This Week
    Last Update:
    See Project