trustwallet-assets/internal/config/validators.go
Daniel d547fb1473
Move CI scripts logic from assets-go-libs (#16680)
* Move CI scripts logic from assets-go-libs

* Add Makefile, .golangci.yml and lint jobs to workflow

* Fix
2021-12-20 00:39:53 +03:00

37 lines
871 B
Go

package config
type RootFolder struct {
AllowedFiles []string `mapstructure:"allowed_files,omitempty"`
SkipFiles []string `mapstructure:"skip_files,omitempty"`
}
type ChainFolder struct {
AllowedFiles []string `mapstructure:"allowed_files,omitempty"`
}
type AssetFolder struct {
AllowedFiles []string `mapstructure:"allowed_files,omitempty"`
}
type ChainInfoFolder struct {
HasFiles []string `mapstructure:"has_files,omitempty"`
}
type ChainValidatorsAssetFolder struct {
HasFiles []string `mapstructure:"has_files,omitempty"`
}
type DappsFolder struct {
Ext string `mapstructure:"ext,omitempty"`
}
type CoinInfoFile struct {
Tags []Tag `mapstructure:"tags,omitempty"`
}
type Tag struct {
ID string `mapstructure:"id,omitempty"`
Name string `mapstructure:"name,omitempty"`
Description string `mapstructure:"description,omitempty"`
}