package
Version:
v0.0.0-...-30e40ea
Opens a new window with list of versions in this module.
Published: Feb 5, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type App struct {
Name string `toml:name`
GroupId string `toml:groupId`
ArtifactId string `toml:artifactId`
SpringVersion string `toml:springVersion`
JavaVersion string `toml:javaVersion`
}
App is struct of user's application setting.
type Db struct {
Jdbc string `toml:jdbc`
Driver string `toml:driver`
Table string `toml:table`
}
Db is struct of user's application setting.
type Task struct {
Schedule string `toml:schedule`
Zone string `toml:zone`
}
type UserInput struct {
App App `toml:App`
Db Db `toml:Db`
Task Task `toml:Task`
}
UserInput is user's project setting.
Parse method convert user's .toml file to UserInput struct.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.