Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Update this version when you make a breaking change to the config file // and want to force users to update their config file MIN_SUPPORTED_VERSION string = "0.0.1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Read and parse the config file and returns the domain.Config Read(configPath string) (*domain.Config, error) // Returns the translation engine that will be used GetEngine(config *domain.Config) (engine.Service, error) }
Service responsible to handle the config file
Example:
- configPath: .gominelang.yaml
Click to show internal directories.
Click to hide internal directories.