MCPcopy Create free account
hub / github.com/ampproject/amphtml / GetMandatoryOneof

Method GetMandatoryOneof

validator/validator.pb.go:1644–1649  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1642}
1643
1644func (x *AttrSpec) GetMandatoryOneof() string {
1645 if x != nil && x.MandatoryOneof != nil {
1646 return *x.MandatoryOneof
1647 }
1648 return ""
1649}
1650
1651func (x *AttrSpec) GetMandatoryAnyof() string {
1652 if x != nil && x.MandatoryAnyof != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected