10 रिपॉजिटरी
Decodes structured data from hashes directly into application-defined types or structs.
Distinct from Hash Data Structures: Focuses on the transformation of hash data into typed objects rather than the storage of the hash itself.
Explore 10 awesome GitHub repositories matching data & databases · Struct Mapping. Refine with filters or upvote what's useful.
Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL database. It provides sub-millisecond read and write access to data stored in RAM and can operate as a vector database for indexing high-dimensional embeddings. The system supports a wide range of data storage and synchronization primitives, including the management of strings, hashes, lists, sets, and JSON documents. It enables real-time data operations through atomic transactions, hybrid persistence using snapshots and append-only logs, and high-availability configurations
Decodes stored hash data directly into application-defined types or structs for easier handling.
oapi-codegen is a suite of generators that converts OpenAPI 3 specifications into type-safe Go client libraries, server boilerplate, and data models. It provides tools for producing production-ready HTTP clients and server-side interfaces to ensure that Go implementations remain compliant with defined API contracts. The tool supports server generation across various web frameworks and allows for extensive customization via template overrides, specification overlays, and custom type definition mappings. It handles complex API requirements through external reference resolution to organize code
Transforms OpenAPI JSON schemas into strongly typed Go structures with custom tags for serialization.
mapstructure is a reflection-based library for the bidirectional encoding and decoding of generic map data into native typed Go structures. It functions as a tool for transforming loosely typed map values into specific structs and encoding those structs back into maps. The library utilizes Go reflection to map generic data keys to struct fields during runtime. It supports the transformation of untyped data from dynamic sources or configuration files into type-safe native structures. The mapping process includes recursive traversal of nested maps and slices, as well as the use of struct tags
Transforms loosely typed map data into native Go structs and encodes structs back into maps.
Ecto is an Elixir database toolkit that maps database rows to Elixir structs and validates data changes through changesets before persistence. It provides a language-integrated query syntax for composing database queries, building them incrementally and securely with compile-time expansion into safe SQL. The toolkit connects to multiple database backends including PostgreSQL, MySQL, MSSQL, SQLite3, ClickHouse, and ETS through a pluggable adapter interface. It supports eager and lazy preloading of associated records to eliminate N+1 query problems, and can store nested data structures as embed
Defines the shape of external data as structs, mapping fields and types for structured access.
Flags deletion in a structure containing a mapping, which does not delete the mapping and may compromise the contract.
envconfig is a Go configuration decoder and environment variable mapper that deserializes environment variables into structured Go data types. It provides tools for validating mandatory fields and ensuring application configuration adheres to the external configuration patterns of twelve-factor app compliance. The library features a help generator that creates formatted usage text based on struct definitions to describe expected environment variables. It also includes a validation tool capable of detecting unused environment variables that match a specific prefix but do not correspond to any
Decodes environment variables into application-defined structs using a specified prefix.
यह प्रोजेक्ट Go में स्केलेबल बैकएंड सिस्टम बनाने के लिए एक माइक्रोसर्विस फ्रेमवर्क है। यह सर्विस डिस्कवरी, लोड बैलेंसिंग, और फॉल्ट-टॉलरेंस तंत्र के लिए एकीकृत समर्थन के साथ वितरित सिस्टम के लिए एक आर्किटेक्चर प्रदान करता है। यह फ्रेमवर्क एक डोमेन-संचालित लेयर्ड आर्किटेक्चर और एक रिमोट-फर्स्ट कॉन्फ़िगरेशन सिस्टम के माध्यम से खुद को अलग करता है जो स्वचालित फ़ेलओवर के साथ रिमोट स्टोर्स और स्थानीय फ़ाइलों के बीच सेटिंग्स को सिंक्रनाइज़ करता है। यह यूनरी और स्ट्रीमिंग डेटा एक्सचेंज के लिए gRPC का उपयोग करके एक उच्च-प्रदर्शन संचार मॉडल लागू करता है, साथ ही लगातार क्लाइंट कनेक्शन प्रबंधित करने के लिए रीयल-टाइम अधिसूचना सिस्टम भी लागू करता है। यह सिस्टम वितरित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है, जिसमें सर्किट ब्रेकिंग और रेट लिमिटिंग के माध्यम से ट्रैफ़िक प्रबंधन, और वितरित ट्रेसिंग, केंद्रीकृत लॉगिंग, और हेल्थ मॉनिटरिंग के माध्यम से ऑब्ज़र्वेबिलिटी शामिल है। इसमें प्रोबेबिलिस्टिक ब्लूम फ़िल्टर्स, वितरित लॉकिंग, और टोकन-आधारित सर्विस प्रमाणीकरण जैसे डेटा इंफ्रास्ट्रक्चर टूल भी शामिल हैं। इस प्रोजेक्ट में कंटेनरीकृत Elasticsearch और HBase वातावरण के लिए डिप्लॉयमेंट समर्थन शामिल है।
Automatically maps configuration data from files into strongly typed Go structs.
koanf is a configuration management library for Go designed to load, merge, and unmarshal application settings from multiple sources into structured objects. It functions as a multi-source config loader that aggregates data from environment variables, files, and remote providers into a single unified map. The system utilizes a pluggable architecture for parsing and data abstraction, allowing it to transform bytes from formats such as JSON, YAML, and TOML into nested maps. It supports dynamic configuration watching to monitor external sources and trigger automatic reloads when settings change.
Maps configuration keys to strongly typed Go structs using custom tags for easier access in application logic.
nba-go is a basketball analytics tool and data aggregator that provides a command line interface for retrieving professional basketball league information, player statistics, and team performance metrics. The application enables game analysis through team statistics comparisons and pregame metric evaluations to predict outcomes. It also provides player analysis utilities to evaluate and compare athletic performance metrics across multiple individuals. The tool covers a broad range of data retrieval capabilities, including game schedules, live scoreboards with play-by-play updates, and post-g
Maps raw API responses into strongly typed Go structures to ensure data consistency.
Kong is a declarative command line interface framework and parser for Go. It maps flags and positional arguments directly into typed Go structures using struct tags, allowing developers to define terminal interfaces through data models rather than manual parsing logic. The project functions as a configuration mapper that populates Go structures from a combination of command-line arguments, environment variables, and JSON files. It distinguishes itself by providing a dependency injection container to pass external services into command handlers and a plugin architecture for dynamic command reg
Parses flags and arguments into a typed data structure to simplify configuration and input handling.