An open API service providing repository metadata for many open source software ecosystems.

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: plus de 2 ans 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

signaux-faibles/datapi
datAPI - API des applications web signaux-faibles

Size: 43,1 Mo - Last synced: 7 jours ago - Pushed: 5 mois ago

signaux-faibles/prepare-import
📥 Scripts de préparation à l'importation de données dans le processus d'intégration

Size: 219 ko - Last synced: 7 jours ago - Pushed: 12 jours ago

pass-culture/pc-monitoring 📦

Size: 176 Mo - Last synced: plus d'un an ago - Pushed: environ 4 ans ago

capsule/drv

Last synced: plus d'un an ago - Pushed: plus d'un an ago

meteor/gresp

Last synced: plus d'un an ago - Pushed: plus d'un an ago

betagouv/pc-dashboard 📦

Size: 158 Mo - Last synced: 4 jours ago - Pushed: plus de 6 ans ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube

Size: 2,99 Mo - Last synced: plus d'un an ago - Pushed: plus d'un an ago

pocs/wso2iam
Proof of concept of using WSO2 API Manager as Identity and Access Management solution

Last synced: plus d'un an ago

pocs/glcpro
Proof of concept for GLC Pro

Last synced: plus d'un an ago

web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stack

Last synced: plus d'un an ago

pocs/dpetit/api-cartographie

Last synced: plus d'un an ago

gestion-des-assemblees/elections
Application de recensement des votes d'une élection et affichage de ses résultats.

Last synced: plus d'un an ago

systemes-dinformation/project-template/sdk-go
Simple Developpement Kit for GO with Gorm ORM for backend and Bulma for frontend.

Last synced: plus d'un an ago

ene5ai/goGraphML

Last synced: plus d'un an ago

csan/csan
CSAN : A marketplace for science

Last synced: plus d'un an ago

avirm/analysis-go

Last synced: plus d'un an ago - Pushed: plus d'un an ago

impl-mentation-s105/gestion-de-particule

Last synced: plus d'un an ago - Pushed: plus d'un an ago

grossiste/pdf-worker

Last synced: plus d'un an ago

go-hep/hep
hep is the mono repository holding all of go-hep.org/x/hep packages and tools

Last synced: plus d'un an ago

igrida/prometheus-oar-exporter
Exporter Prometheus pour les métrics du serveur OAR

Last synced: plus d'un an ago

fantastic-fanfare/adorable_alien

Last synced: plus d'un an ago