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.
 
 
 
armen/internal/config/data/storage.go

26 lines
706 B

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