Documentation
¶
Index ¶
Constants ¶
View Source
const (
TypeV0 = builtin_types.WorkspaceConfigTypeTomlV0
)
Variables ¶
View Source
var Coder = triple_hyphen_io.Coder[TypeWithBlob]{ Metadata: triple_hyphen_io.TypedMetadataCoder[*Blob]{}, Blob: triple_hyphen_io.CoderTypeMap[*Blob](typedCoders), }
Functions ¶
func DecodeFromFile ¶
func DecodeFromFile( object TypeWithBlob, path string, ) (err error)
func EncodeToFile ¶
func EncodeToFile( object TypeWithBlob, path string, ) (err error)
Types ¶
type Blob ¶
type Blob interface {
GetDefaults() config_mutable_blobs.Defaults
GetDefaultQueryGroup() string
}
type TypeWithBlob ¶
type TypeWithBlob = *triple_hyphen_io.TypedStruct[*Blob]
type V0 ¶
type V0 struct {
Defaults config_mutable_blobs.DefaultsV1OmitEmpty `toml:"defaults,omitempty"`
Query string `toml:"query,omitempty"`
}
func (V0) GetDefaultQueryGroup ¶
func (V0) GetDefaults ¶
func (blob V0) GetDefaults() config_mutable_blobs.Defaults
func (V0) GetWorkspaceConfig ¶
Click to show internal directories.
Click to hide internal directories.