awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

5 个仓库

Awesome GitHub RepositoriesFunction Registries

Registries that map string identifiers to custom validation functions for runtime lookup.

Distinct from Custom Validation Functions: Distinct from custom functions by focusing on the registry mechanism (the map) rather than the execution of the logic.

Explore 5 awesome GitHub repositories matching software engineering & architecture · Function Registries. Refine with filters or upvote what's useful.

Awesome Function Registries GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • go-playground/validatorgo-playground 的头像

    go-playground/validator

    20,028在 GitHub 上查看↗

    This is a Go struct validation library used to maintain data integrity by enforcing constraints on fields, slices, and maps. It functions as a schema validation tool and data integrity validator, ensuring that complex nested structures adhere to predefined rules. The library utilizes struct tags to configure validation logic at runtime and supports a custom function registry for extending validation rules. It is distinguished by its ability to perform cross-field dependency evaluation, allowing the comparison of values between different fields within the same data structure to ensure logical

    Maintains a registry where custom validator functions are mapped to string identifiers for dynamic lookup during evaluation.

    Goerror-handlingtranslationvalidation
    在 GitHub 上查看↗20,028
  • asaskevich/govalidatorasaskevich 的头像

    asaskevich/govalidator

    6,203在 GitHub 上查看↗

    Go Package of validators and sanitizers for strings, numerics, slices and structs

    Maintains a global map of named validation functions that can be registered and invoked by tag references.

    Gogogovalidatorsanitization
    在 GitHub 上查看↗6,203
  • kolodny/immutability-helperkolodny 的头像

    kolodny/immutability-helper

    5,187在 GitHub 上查看↗

    immutability-helper 是一个不可变数据操作库和对象实用工具,用于创建对象和数组的修改副本。它作为一个基于命令的状态管理器和函数式数据转换器,确保原始源数据在更新过程中保持不变。 该库通过使用一组声明式的变异命令和描述符来指定更改,从而脱颖而出。如果在变异过程中没有发生实际更改,它会返回原始对象引用,从而保持引用相等性。 它提供了对嵌套结构进行深度克隆以及对对象、数组、Map 和 Set 执行复杂状态变异的功能。该系统支持通过可插拔的变异引擎合并不可变对象并应用自定义转换逻辑。

    Uses a lookup table to map identifiers to user-defined functions for specialized data transformations.

    TypeScript
    在 GitHub 上查看↗5,187
  • sindresorhus/owsindresorhus 的头像

    sindresorhus/ow

    3,868在 GitHub 上查看↗

    ow is a type-safe schema validation library for TypeScript that verifies data integrity at runtime. It functions as a runtime validation framework and type guard utility, ensuring that JavaScript values match expected types and schemas before they are processed. The library synchronizes runtime data checks with static TypeScript type definitions, allowing users to extract type definitions directly from validation predicates. This integration enables type narrowing, where a successful validation result refines the variable type for safer usage in the code. The framework uses a chainable API t

    Provides a registry mechanism to map identifiers to reusable standalone validation functions.

    TypeScriptjavascriptnodejsnpm-package
    在 GitHub 上查看↗3,868
  • go-validator/validatorgo-validator 的头像

    go-validator/validator

    1,335在 GitHub 上查看↗

    This project is a data validation framework for the Go programming language that enforces integrity by applying declarative constraints to struct fields. It utilizes reflection to inspect data structures at runtime, mapping field-level requirements defined in struct tags to specific validation logic. The library distinguishes itself through its ability to handle complex object graphs by recursively traversing nested structures and slices. It supports context-aware validation, allowing developers to switch between different rule sets for the same data structure based on application state or sp

    Maintains a central lookup table of validation functions that allows developers to register and invoke custom business rules.

    Go
    在 GitHub 上查看↗1,335
  1. Home
  2. Software Engineering & Architecture
  3. Custom Validation Rules
  4. Asynchronous Validators
  5. Custom Validation Functions
  6. Function Registries