github.com/stretchr/objx
go
pkg:golang/github.com/stretchr/objx
32 Dependabot PRs
6 months ago
22 repositories
0 repositories
Recent PRs
Bump the github-dependencies group across 1 directory with 24 updates
kubernetes-sigs/gcp-filestore-csi-driver #1208
go(deps): bump the go-dependencies group across 1 directory with 18 updates
lycp152/UniversityEntranceExamSubjectNavi #100
Bump the dev-dependencies group across 1 directory with 47 updates
deps(deps): Bump the go-dependencies group across 1 directory with 29 updates
axcel0/Golang-Rest-Api-Gin #10
chore(deps): bump the dev-tools group with 2 updates
deps(deps): Bump the go-dependencies group across 1 directory with 21 updates
chore: (deps): bump github.com/stretchr/objx from 0.5.2 to 0.5.3
deps(deps): bump github.com/stretchr/objx from 0.5.2 to 0.5.3
anstrom/scanorama #175
maintain: bump github.com/stretchr/objx from 0.5.2 to 0.5.3
orien/stackaroo #39
Bump the dev-dependencies group across 1 directory with 19 updates
greenbone/keycloak-client-golang #249
chore(deps): bump github.com/stretchr/objx from 0.5.2 to 0.5.3 in the dev-tools group
deps(deps): Bump the go-dependencies group across 1 directory with 3 updates
build(deps): bump github.com/stretchr/objx from 0.5.2 to 0.5.3
shanbay/gobay #686
chore(deps): bump the golang group with 5 updates
Bump the github-dependencies group across 1 directory with 31 updates
kubernetes-sigs/gcp-filestore-csi-driver #1181
Bump the github-dependencies group across 1 directory with 30 updates
kubernetes-sigs/gcp-filestore-csi-driver #1176
Bump the dev-dependencies group across 1 directory with 43 updates
deps(deps): bump the minor-and-patch group across 1 directory with 12 updates
busybox42/elemta #59
[tst](deps): Bump github.com/stretchr/objx from 0.5.2 to 0.5.3 in /tst in the main group
ifnotnil/x #45
[http](deps): Bump github.com/stretchr/objx from 0.5.2 to 0.5.3 in /http in the main group
ifnotnil/x #44
build(deps): bump github.com/stretchr/objx from 0.5.2 to 0.5.3
apocelipes/gobay #185
build(deps): Bump github.com/stretchr/objx from 0.5.2 to 0.5.3
package-operator/package-operator #2217
chore(deps): bump github.com/stretchr/objx from 0.5.2 to 0.5.3
golanglib/dependabot_botherer #6204
chore(deps): bump github.com/stretchr/objx from 0.5.2 to 0.5.3
package-operator/boxcutter #326
build(deps): bump github.com/stretchr/objx from 0.5.2 to 0.5.3
stretchr/testify #1807
build(deps): bump github.com/stretchr/objx from 0.5.2 to 0.5.3
Bump github.com/stretchr/objx from 0.5.0 to 0.5.2
incident-io/catalog-importer #209
chore(deps): bump the golang group with 5 updates
chore(deps): bump the golang group across 1 directory with 5 updates
Bump github.com/stretchr/objx from 0.4.0 to 0.5.1
Package Details
| Name: | github.com/stretchr/objx |
| Ecosystem: | go |
| PURL Type: | golang |
| Package URL: | pkg:golang/github.com/stretchr/objx |
| JSON API: | View JSON |
Package Information
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:
| Repository: | https://github.com/stretchr/objx |
| Homepage: | https://github.com/stretchr/objx |
| Latest Release: |
v0.5.2
over 2 years ago |
| Dependent Repos: | 267,615 |
| Dependent Packages: | 20,211 |
| Ranking: | Top 0.0008% by dependent repos Top 0.0092% by dependent pkgs |