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

Top 7.3% dependent packages on proxy.golang.org

proxy.golang.org : github.com/zitadel/schema

Package zitadel/schema fills a struct with form values. The basic usage is really simple. Given this struct: ...we can fill it passing a map to the Decode() function: This is just a simple example and it doesn't make a lot of sense to create the map manually. Typically it will come from a http.Request object and will be of type url.Values, http.Request.Form, or http.Request.MultipartForm: Note: it is a good idea to set a Decoder instance as a package global, because it caches meta-data about structs, and an instance can be shared safely: To define custom names for fields, use a struct tag "schema". To not populate certain fields, use a dash for the name and it will be ignored: The supported field types in the destination struct are: Non-supported types are simply ignored, however custom types can be registered to be converted. To fill nested structs, keys must use a dotted notation as the "path" for the field. So for example, to fill the struct Person below: ...the source map must have the keys "Name", "Phone.Label" and "Phone.Number". This means that an HTML form to fill a Person struct must look like this: Single values are filled using the first value for a key from the source map. Slices are filled using all values for a key from the source map. So to fill a Person with multiple Phone values, like: ...an HTML form that accepts three Phone values would look like this: Notice that only for slices of structs the slice index is required. This is needed for disambiguation: if the nested struct also had a slice field, we could not translate multiple values to it if we did not use an index for the parent struct. There's also the possibility to create a custom type that implements the TextUnmarshaler interface, and in this case there's no need to register a converter, like: ...an HTML form that accepts three Email values would look like this:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/zitadel/schema
License: BSD-3-Clause
Latest release: 2 months ago
First release: over 2 years ago
Namespace: github.com/zitadel
Dependent packages: 8
Stars: 2 on GitHub
Forks: 0 on GitHub
Docker dependents: 1
Docker downloads: 1,972
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago

Top 9.2% on proxy.golang.org
github.phpd.cn/uselagoon/lagoon-ssh-portal v0.36.2
63 versions - Latest release: 11 months ago
Top 9.2% on proxy.golang.org
github.phpd.cn/influxdata/telegraf v1.31.0
116 versions - Latest release: 11 months ago
Top 7.5% on proxy.golang.org
github.com/dsseng/wiso v0.1.1
Minimalist and customizable captive portal with advanced features like LDAP and OIDC
2 versions - Latest release: about 1 year ago - 0 stars on GitHub
Top 7.5% on proxy.golang.org
github.com/sjonpaulbrown-cc/zitadel-go v1.0.1
ZITADEL Go - The official client library of ZITADEL for an easy integration into your Go project.
1 version - Latest release: about 1 year ago - 0 stars on GitHub
Top 8.0% on proxy.golang.org
github.xiaoq7.com/uselagoon/lagoon-ssh-portal v0.34.1
1 version - Latest release: about 1 year ago
Top 7.4% on proxy.golang.org
github.chickoi.com/uselagoon/lagoon-ssh-portal v0.34.1
1 version - Latest release: about 1 year ago
Top 9.0% on proxy.golang.org
github.com/antalmiklos/auth v0.0.3
3 versions - Latest release: about 1 year ago - 0 stars on GitHub
Top 9.1% on proxy.golang.org
github.com/jamedranoa/oidc/v3 v3.5.1-issue.1
Easy to use OpenID Connect client and server library written for Go and certified by the OpenID F...
1 version - Latest release: about 1 year ago - 0 stars on GitHub
Top 9.2% on proxy.golang.org
github.imxd.top/jkroepke/openvpn-auth-oauth2 v1.18.0
47 versions - Latest release: about 1 year ago
Top 9.9% on proxy.golang.org
github.com/canonical/lxd/test/mini-oidc v0.0.0-20240125082032-6da9e0ff0540
33 versions - Latest release: over 1 year ago
Top 9.7% on proxy.golang.org
github.com/jkroepke/openvpn-auth-oauth2/pkg/plugin v0.0.0-20240122225424-0481d6c49d77 💰
openvpn-auth-oauth2 is a plugin/management interface client for OpenVPN server to handle an OIDC ...
7 versions - Latest release: over 1 year ago - 38 stars on GitHub
Top 9.7% on proxy.golang.org
github.com/lxc/incus/test/mini-oidc v0.0.0-20240121084812-b1fae6d3c4d1 💰
Powerful system container and virtual machine manager
6 versions - Latest release: over 1 year ago - 1,424 stars on GitHub
Top 9.1% on proxy.golang.org
github.skymusic.top/perses/perses v0.43.0
66 versions - Latest release: over 1 year ago
github.com/formancehq/oidc/v3 v3.0.0
Easy to use OpenID Connect client and server library written for Go and certified by the OpenID F...
9 versions - Latest release: over 1 year ago - 1 stars on GitHub
github.com/PoteeDev/k8s-controller v0.0.0-20231029114100-a9c5660c4b00
1 version - Latest release: over 1 year ago - 0 stars on GitHub
Top 9.5% on proxy.golang.org
github.com/jkroepke/openvpn-auth-oauth2/pkg/testutils v0.0.0-20231020051045-2295eabba7c4 💰
openvpn-auth-oauth2 is a plugin/management interface client for OpenVPN server to handle an OIDC ...
3 versions - Latest release: over 1 year ago - 1 dependent package - 15 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.