An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.0% on proxy.golang.org
Top 2.9% dependent repos on proxy.golang.org

proxy.golang.org : github.com/jkawamoto/structpbconv

Package structpbconv provides a method which converts a structpb.Struct instance to another given structure instance. For example, let us assume to convert Payload of a logging.Entry to an ActivityPayload, which is a basic log format in Google Compute Engine. The type of Payload of logging.Entry is `interface{}` but it can be casted to `*structpb.Struct` in most cases. The following example converts the instance of `*structpb.Struct` to an instance of ActivityPayload, which is also defined in that code. Note that to specify a field name, use `structpb` tag.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/jkawamoto/structpbconv
Keywords: go , google-compute-engine , protocol-buffers
License: MIT
Latest release: almost 6 years ago
First release: almost 6 years ago
Namespace: github.com/jkawamoto
Dependent repositories: 3
Stars: 5 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago

    Loading...
    Readme
    Loading...