Jobs & Workflows https://armen.surge.sh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
720 B

/*
------------------------------------------------------------------------------------------------------------------------
####### data ####### Copyright (c) 2021 mls-361 #################################################### MIT License #######
------------------------------------------------------------------------------------------------------------------------
*/
package data
const _defaultStorage = "memory"
// Storage AFAIRE.
type Storage struct {
Impl string `json:"impl"`
}
func (s *Storage) validate() error {
if s.Impl == "" {
s.Impl = _defaultStorage
}
return nil
}
/*
######################################################################################################## @(°_°)@ #######
*/