Package Usage: go: github.com/stretchr/objx
Package objx provides utilities for dealing with maps, slices, JSON and other data.
Objx provides the `objx.Map` type, which is a `map[string]interface{}` that exposes
a powerful `Get` method (among others) that allows you to easily and quickly get
access to data within the map, without having to worry too much about type assertions,
missing data, default values etc.
Objx uses a predictable pattern to make access data from within `map[string]interface{}` easy.
Call one of the `objx.` functions to create your `objx.Map` to get going:
NOTE: Any methods or functions with the `Must` prefix will panic if something goes wrong,
the rest will be optimistic and try to figure things out without panicking.
Use `Get` to access the value you're interested in. You can use dot and array
notation too:
Once you have sought the `Value` you're interested in, you can use the `Is*` methods to determine its type.
Or you can just assume the type, and use one of the strong type methods to extract the real value:
If there's no value there (or if it's the wrong type) then a default value will be returned,
or you can be explicit about the default value.
If you're dealing with a slice of data as a value, Objx provides many useful methods for iterating,
manipulating and selecting that data. You can find out more by exploring the index below.
A simple example of how to use Objx:
Since `objx.Map` is a `map[string]interface{}` you can treat it as such.
For example, to `range` the data, do what you would expect:
8 versions
Latest release: almost 2 years ago
20,211 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/stretchr/objx
Dependent Repos 85
SocialGouv/k8s-csi-s3 Fork of yandex-cloud/k8s-csi-s3
GeeseFS-based CSI for mounting S3 buckets as PersistentVolumesSize: 231 KB - Last synced: 7 days ago - Pushed: about 1 year ago

SocialGouv/rollout-status Fork of clusterise/rollout-status
Alternative to kubectl rollout statusSize: 3.95 MB - Last synced: 7 days ago - Pushed: 3 months ago

SocialGouv/sealed-secrets Fork of bitnami-labs/sealed-secrets
A Kubernetes controller and tool for one-way encrypted SecretsSize: 39.6 MB - Last synced: 7 days ago - Pushed: 7 months ago

ANSSI-FR/ultrablue
User-friendly Lightweight TPM Remote Attestation over BluetoothSize: 3.87 MB - Last synced: about 16 hours ago - Pushed: over 2 years ago



InseeFrLab/onyxia-onboarding
Onboarding for the Onyxia datalabSize: 68.4 KB - Last synced: about 5 hours ago - Pushed: over 1 year ago

InseeFrLab/onyxia-onboarding-operator
An operator for onyxia's onboarding tasksSize: 71.3 KB - Last synced: about 5 hours ago - Pushed: over 1 year ago

InseeFrLab/s3-operator
A simple operator to dynamically create S3 buckets and policiesSize: 324 KB - Last synced: about 5 hours ago - Pushed: 3 days ago

InseeFrLab/utils
A collection of scripts that may have been used at some point :)Size: 41 KB - Last synced: about 5 hours ago - Pushed: over 1 year ago

COSAE-FR/ripacb
RIP ACB Server and clientSize: 91.8 KB - Last synced: about 1 month ago - Pushed: 8 months ago

COSAE-FR/ripflow
Simple Netflow v5 probeSize: 25.4 KB - Last synced: about 1 month ago - Pushed: about 4 years ago
