 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RawFormat ¶
type RawFormat string
func IdentifyFormat ¶
IdentifyFormat does best effort to identify the format of the raw contract by going the unmarshalling path in the following order: json, cue, yaml NOTE that we are just validating the format, not the content using regular marshalling not even proto marshalling, that comes later once we know the format
func (RawFormat) Values ¶
Implements https://pkg.go.dev/entgo.io/ent/schema/field#EnumValues
 Click to show internal directories. 
   Click to hide internal directories.