Showing 34 open source projects for "structs"

View related business solutions
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • Keep company data safe with Chrome Enterprise Icon
    Keep company data safe with Chrome Enterprise

    Protect your business with AI policies and data loss prevention in the browser

    Make AI work your way with Chrome Enterprise. Block unapproved sites and set custom data controls that align with your company's policies.
    Download Chrome
  • 1
    gopsutil

    gopsutil

    psutil for golang

    gopsutil tag policy is almost same as Semantic Versioning but automatically increases like Ubuntu versioning. gopsutil aims to keep backward compatibility until a major version change. Tagged at the end of the month, but if there are only a few commits, it can be skipped. All works are implemented without cgo by porting C structs to golang structs.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 2
    Scany

    Scany

    Library for scanning data from a database into Go structs and more

    Go favors simplicity, and it's pretty common to work with a database via driver directly without any ORM. It provides great control and efficiency in your queries, but here is a problem: you need to manually iterate over database rows and scan data from all columns into a corresponding destination. It can be error-prone verbose and just tedious. scany aims to solve this problem. It allows developers to scan complex data from a database into Go structs and other composite types with just one...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 3
    env

    env

    A simple and zero-dependencies library to parse environment variables

    Parse environment variables to structs in Go. In Go, it’s dead simple to get the value from an environment variable. If you have a type that is not supported out of the box by the lib, you are able to use (or define) and pass custom parsers (and their associated reflect.Type) to the env.ParseWithFuncs() function. Env supports by default anything that implements the TextUnmarshaler interface. That includes things like time.Time for example. The upside is that depending on the format you need...
    Downloads: 6 This Week
    Last Update:
    See Project
  • 4
    Mergo

    Mergo

    Mergo: merging Go structs and maps since 2013

    A helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements. Mergo merges same-type structs and maps by setting default values in zero-value fields. Mergo won't merge unexported (private) fields. It will do recursively any exported one. It also won't merge structs inside maps (because they are not addressable using Go reflection). Also a lovely comune (municipality) in the Province of Ancona in the Italian region of Marche. Keep in mind...
    Downloads: 0 This Week
    Last Update:
    See Project
  • Simple, Secure Domain Registration Icon
    Simple, Secure Domain Registration

    Get your domain at wholesale price. Cloudflare offers simple, secure registration with no markups, plus free DNS, CDN, and SSL integration.

    Register or renew your domain and pay only what we pay. No markups, hidden fees, or surprise add-ons. Choose from over 400 TLDs (.com, .ai, .dev). Every domain is integrated with Cloudflare's industry-leading DNS, CDN, and free SSL to make your site faster and more secure. Simple, secure, at-cost domain registration.
    Sign up for free
  • 5
    schema

    schema

    Package gorilla/schema fills a struct with form values

    Package gorilla/schema converts structs to and from form values. Conversely, the contents of a struct can be encoded into form values. To define custom names for fields, use a struct tag "schema". To not populate certain fields, use a dash for the name and it will be ignored.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    goldmark

    goldmark

    A markdown parser written in Go. Easy to extend, standard, compliant

    A markdown parser is written in Go. Easy to extend, standard(CommonMark) compliant, well structured.golang-commonmark may be a good choice, but it seems to be a copy of markdown-it. blackfriday.v2 is a fast and widely-used implementation, but is not CommonMark-compliant and cannot be extended from outside of the package, since its AST uses structs instead of interfaces. Furthermore, its behavior differs from other implementations in some cases, especially regarding lists: Deep nested lists...
    Downloads: 2 This Week
    Last Update:
    See Project
  • 7
    easyjson

    easyjson

    Fast JSON serializer for golang

    Package easyjson provides a fast and easy way to marshal/unmarshal Go structs to/from JSON without the use of reflection. In performance tests, easyjson outperforms the standard encoding/json package by a factor of 4-5x, and other JSON encoding packages by a factor of 2-3x. easyjson aims to keep generated Go code simple enough so that it can be easily optimized or fixed. Another goal is to provide users with the ability to customize the generated code by providing options not available...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 8
    go-jsonschema

    go-jsonschema

    A tool to generate Go data types from JSON Schema definitions

    go-jsonschema is a tool to generate Go data types from JSON Schema definitions. This tool generates Go data types and structs that corresponds to definitions in the schema, along with unmarshalling code that validates the input JSON according to the schema's validation rules.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    q Go

    q Go

    Quick and dirty debugging output for tired Go programmers

    q is a better way to do print statement debugging. For best results, dedicate a terminal to tailing $TMPDIR/q while you work. You also can simply tail -f $TMPDIR/q, but it's highly recommended to use the provided commands. Type q.Q instead of fmt.Printf and your variables will be printed like the provided example. Faster to type, pretty-printed vars and expressions. Easier to see inside structs, doesn't go to noisy-ass stdout. It goes to $TMPDIR/q. q Go offers pretty colors!
    Downloads: 0 This Week
    Last Update:
    See Project
  • Photo and Video Editing APIs and SDKs Icon
    Photo and Video Editing APIs and SDKs

    Trusted by 150 million+ creators and businesses globally

    Unlock Picsart's full editing suite by embedding our Editor SDK directly into your platform. Offer your users the power of a full design suite without leaving your site.
    Learn More
  • 10
    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. This gives it the ability to provide a clear API...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    go-restful

    go-restful

    Package for building REST-style Web Services using Go

    .... Route errors produce HTTP 404/405/406/415 errors, customizable using ServiceErrorHandler(...). Request API for reading structs from JSON/XML and accessing parameters (path, query, header). Customizable gzip/deflate readers and writers using CompressorProvider registration. There are several hooks to customize the behavior of the go-restful package.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    PostgreSQL client and ORM for Golang

    PostgreSQL client and ORM for Golang

    Golang ORM with focus on PostgreSQL features and performance

    Basic types, integers, floats, string, bool, time.Time, net.IP, net.IPNet. All struct fields are nullable by default and zero values (empty string, 0, zero time, empty map or slice, nil ptr) are marshalled as SQL NULL. pg:",notnull" is used to add SQL NOT NULL constraint and pg:",use_zero" to allow Go zero values. sql.NullBool, sql.NullString, sql.NullInt64, sql.NullFloat64 and pg.NullTime. Structs, maps and arrays are marshalled as JSON by default. PostgreSQL multidimensional Arrays using...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 13
    GORM

    GORM

    The fantastic ORM library for Golang, aims to be developer friendly

    GORM is a powerful, developer-friendly ORM library for Go. It maps Go structs to DB tables, supports relationships, hooks, transactions, eager loading, raw SQL, migrations, and advanced querying with plugins.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14
    ojg

    ojg

    Optimized JSON for Go

    Optimized JSON for Go is a high-performance parser with a variety of additional JSON tools. OjG is optimized to processing huge data sets where data does not necessarily conform to a fixed structure.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    Typhon

    Typhon

    A wrapper around Go's net/http to provide safety and convenience

    ... weird with the body – it will be closed automatically. Marshalling and unmarshalling request bodies to structs is such a common operation that our Request and Response objects support them directly. If the operations fail, the errors are propagated automatically since that's nearly always what a server will want.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16
    goqu

    goqu

    SQL builder and query library for golang

    SQL builder and query library for golang. goqu is an expressive SQL builder and executor. Query builder, parameter interpolation (e.g SELECT * FROM "items" WHERE "id" = ? -> SELECT * FROM "items" WHERE "id" = 1). 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...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    goquery

    goquery

    A little like that j-thing, only in Go

    goquery brings a syntax and a set of features similar to jQuery to the Go language. It is based on Go's net/HTML package and the CSS Selector library Cascadia. Since the net/html parser returns nodes, and not a full-featured DOM tree, jQuery's stateful manipulation functions (like height(), css(), and detach()) have been left off. Also, because the net/HTML parser requires UTF-8 encoding, so does goquery: it is the caller's responsibility to ensure that the source document provides UTF-8...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 18
    gomodifytags

    gomodifytags

    Go tool to modify struct field tags

    Go tool to modify/update field tags in structs. gomodifytags makes it easy to update, add or delete the tags in a struct field. You can easily add new tags, update existing tags (such as appending a new key, i.e: db, xml, etc..) or remove existing tags. It also allows you to add and remove tag options. It's intended to be used by an editor, but also has modes to run it from the terminal. Read the usage section below for more information. This accepts the struct name. i.e: -struct Server...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    SQLBoiler

    SQLBoiler

    Generate a Go ORM tailored to your database schema

    SQLBoiler is a tool to generate a Go ORM tailored to your database schema. It is a "database-first" ORM as opposed to "code-first" (like gorm/gorp). That means you must first create your database schema. Please use something like sql-migrate or some other migration tool to manage this part of the database's life-cycle. While attempting to migrate a legacy Rails database, we realized how much ActiveRecord benefited us in terms of development velocity. Coming over to the Go database/sql...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    ClickHouse Go

    ClickHouse Go

    Golang driver for ClickHouse

    ... supports http protocol for transport. (Experimental). Marshal rows into structs (ScanStruct, Select). Unmarshal struct to row (AppendStruct). Connection pool Failover and load balancing. Bulk write support (for database/sql use begin->prepare->(in loop exec)->commit). AsyncInsert, named and numeric placeholders support. LZ4/ZSTD compression support. External data.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    go-github

    go-github

    Go library for accessing the GitHub API

    go-github is a Go client library for accessing the GitHub API v3. Currently, go-github requires Go version 1.13 or greater. go-github tracks Go's version support policy. We do our best not to break older versions of Go if we don't have to, but due to tooling constraints, we don't always test older versions. If you're interested in using the GraphQL API v4, the recommended library is shurcooL/githubv4. go-github is compatible with modern Go releases in module mode. Resolve and add the package...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    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: 0 This Week
    Last Update:
    See Project
  • 23
    Go QueryString

    Go QueryString

    go-querystring is Go library for encoding structs into URL query

    go-querystring is a lightweight Go library developed by Google for encoding Go structs into URL query strings. It simplifies the process of constructing URLs with typed parameters, offering a clean, type-safe approach to building query strings programmatically. The library’s query package exposes a single Values() function that converts struct fields (tagged with url tags) into properly encoded query parameters. It is particularly useful for APIs or HTTP clients that represent query parameters...
    Downloads: 6 This Week
    Last Update:
    See Project
  • 24
    govalidator

    govalidator

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

    A package of validators and sanitizers for strings, structs and collections. Based on validator.js. Activate behavior to require all fields have a validation tag by default. SetFieldsRequiredByDefault causes validation to fail when struct fields do not include validations or are not explicitly marked as exempt (using valid:"-" or valid:"email,optional"). A good place to activate this is a package init function or the main() function. SetNilPtrAllowedByRequired causes validation to pass when...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 25
    Protocol Buffers for Go with Gadgets

    Protocol Buffers for Go with Gadgets

    Protocol Buffers for Go with Gadgets

    ... 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
  • Previous
  • You're on page 1
  • 2
  • Next
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.