Ecosyste.ms: Funds
An open API service for providing issue and pull request metadata for open source projects.
https://github.com/stretchr/objx
go golang objx
Last synced: about 4 hours ago
Repository metadata:
Go package for dealing with maps, slices, JSON and other data.
- Host: GitHub
- URL: https://github.com/stretchr/objx
- Owner: stretchr
- License: mit
- Created: 2013-09-10T19:45:41.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-04T08:28:11.000Z (8 months ago)
- Last Synced: 2024-10-29T19:59:49.569Z (11 days ago)
- Topics: go, golang, objx
- Language: Go
- Homepage:
- Size: 500 KB
- Stars: 703
- Watchers: 15
- Forks: 76
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: security.go
Owner metadata:
- Name: Stretchr, Inc.
- Login: stretchr
- Email: [email protected]
- Kind: organization
- Description: Tame your unstructured data - We <3 open-source.
- Website: http://www.stretchr.com/
- Location: Boulder, CO & Worldwide & The Cloud
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/1841476?v=4
- Repositories: 50
- Last Synced at: 2023-03-24T08:50:39.561Z
- Profile URL: https://github.com/stretchr
- Sponsor URL:
Committers metadata
Last synced: about 7 hours ago
Total Commits: 197
Total Committers: 19
Avg Commits per committer: 10.368
Development Distribution Score (DDS): 0.609
Commits in past year: 6
Committers in past year: 2
Avg Commits per committer in past year: 3.0
Development Distribution Score (DDS) in past year: 0.5
Name | Commits | |
---|---|---|
Mat Ryer | m****t@s****m | 77 |
Tyler Bunnell | t****l@g****m | 38 |
Hanzei | H****i | 32 |
dependabot[bot] | 4****] | 13 |
earncef | e****f@e****m | 11 |
E Sequeira | 5****q | 5 |
Ben Schumacher | h****i@m****g | 3 |
Ben Schumacher | b****r@m****m | 3 |
Hanzei | 1****i | 3 |
Olivier Mengué | d****n@c****g | 2 |
Oleksandr Redko | o****b@g****m | 2 |
Andrey | a****d@r****m | 1 |
Dave Rolsky | a****h@u****g | 1 |
Joe Farrell | j****l@g****m | 1 |
Máximo Cuadros Ortiz | m****s@g****m | 1 |
Matthieu MOREL | m****5 | 1 |
Edward Betts | e****d@4****m | 1 |
Michal Vyskocil | m****l@g****m | 1 |
Tobias Schoknecht | t****t@g****m | 1 |
Issue and Pull Request metadata
Last synced: 1 day ago
Package metadata
- Total packages: 1
- Total downloads: unknown
- Total docker downloads: 27,263,500,093
- Total dependent packages: 20,211
- Total dependent repositories: 267,615
- Total versions: 8
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:
- Homepage: https://github.com/stretchr/objx
- Documentation: https://pkg.go.dev/github.com/stretchr/objx#section-documentation
- Licenses: MIT
- Latest release: v0.5.1 (published over 1 year ago)
- Last Synced: 2024-11-09T00:08:27.496Z (1 day ago)
- Versions: 8
- Dependent Packages: 20,211
- Dependent Repositories: 267,615
- Docker Downloads: 27,263,500,093
-
Rankings:
- Dependent repos count: 0.001%
- Dependent packages count: 0.009%
- Docker downloads count: 0.015%
- Average: 1.063%
- Stargazers count: 2.399%
- Forks count: 2.891%
Dependencies
- github.com/davecgh/go-spew v1.1.1
- github.com/stretchr/testify v1.7.1
- github.com/davecgh/go-spew v1.1.0
- github.com/davecgh/go-spew v1.1.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/objx v0.1.0
- github.com/stretchr/testify v1.7.1
- gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
- gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
- actions/cache v3 composite
- actions/checkout v4 composite
- actions/setup-go v5 composite