Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skewb1k/optional
Golang package providing optional field
https://github.com/skewb1k/optional
golang json package
Last synced: 25 days ago
JSON representation
Golang package providing optional field
- Host: GitHub
- URL: https://github.com/skewb1k/optional
- Owner: skewb1k
- License: mit
- Created: 2024-12-16T22:13:52.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-16T22:56:31.000Z (about 1 month ago)
- Last Synced: 2024-12-16T23:51:46.129Z (about 1 month ago)
- Topics: golang, json, package
- Language: Go
- Homepage: https://pkg.go.dev/github.com/skewb1k/optional
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Optional Package
A lightweight Go package for handling optional values when parsing JSON.
## Features
- Zero-allocation wrapper for optional values
- Type-safe handling of nullable JSON fields
- Generic based## Installation
```bash
go get github.com/skewb1k/optional
```## Usage
Check out tests for usage example.