Documentation ¶
Index ¶
- func ClearAllAliases() error
- func ClearAllAliasesForJsonApiType(jsonApiType string) error
- func ClearAllCaches()
- func ClearCache(jsonApiType string)
- func DeleteAliasesById(idStr string, jsonApiType string)
- func FlushAliases() int
- func GetAliasesForJsonApiTypeAndAlternates(jsonApiType string, alternateJsonApiTypes []string) map[string]*id.IdableAttributes
- func InitializeAliasDirectoryForTesting()
- func ResolveAliasValuesOrReturnIdentity(jsonApiType string, alternateJsonApiTypes []string, aliasName string, ...) string
- func SaveAliasesForResources(jsonTxt string)
- func SetAliasForResource(jsonTxt string, name string)
- func SyncAliases() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearAllAliases ¶ added in v0.7.0
func ClearAllAliases() error
func ClearAllAliasesForJsonApiType ¶ added in v0.7.0
func ClearAllCaches ¶ added in v0.9.0
func ClearAllCaches()
func ClearCache ¶ added in v0.9.0
func ClearCache(jsonApiType string)
func DeleteAliasesById ¶ added in v0.7.0
func FlushAliases ¶ added in v0.9.0
func FlushAliases() int
func GetAliasesForJsonApiTypeAndAlternates ¶ added in v0.9.0
func GetAliasesForJsonApiTypeAndAlternates(jsonApiType string, alternateJsonApiTypes []string) map[string]*id.IdableAttributes
func InitializeAliasDirectoryForTesting ¶ added in v0.7.0
func InitializeAliasDirectoryForTesting()
func SaveAliasesForResources ¶
func SaveAliasesForResources(jsonTxt string)
func SetAliasForResource ¶ added in v0.10.0
func SyncAliases ¶ added in v0.9.0
func SyncAliases() int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.