sshfp-generator/config/interface.go

12 lines
207 B
Go

package config
type Repository interface {
LoadFile(fileName string) error
SaveFile(fileName string) error
GetConfig() *Config
}
type Service interface {
LoadConfig(fileName string) (*Config, error)
}