mirror of https://gitee.com/openkylin/genmai.git
!17 删除ConfigParser.go,修改ConfigParserJson.go
Merge pull request !17 from a-alpha/alpha-dev
This commit is contained in:
commit
430aa46373
|
@ -1,36 +0,0 @@
|
|||
////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Filename: ConfigParser.go
|
||||
//
|
||||
// Version: 1.0
|
||||
// Created: 2022年10月25日 17时53分41秒
|
||||
// Revision: none
|
||||
// Compiler: go
|
||||
//
|
||||
// Author: alpha
|
||||
// Organization: alpha
|
||||
// Contacts: chenxinquan@kylinos.cn
|
||||
//
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// Description:
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// Log:
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// Todo:
|
||||
//
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
package genmai
|
||||
|
||||
type ConfigParserIFace interface {
|
||||
parse(path string) error
|
||||
}
|
||||
|
||||
type ConfigParser struct {
|
||||
}
|
|
@ -27,19 +27,19 @@
|
|||
////////////////////////////////////////////////////////////////
|
||||
|
||||
package genmai
|
||||
|
||||
// TODO: TBD
|
||||
type ConfigJSON struct {
|
||||
}
|
||||
|
||||
type ConfigParserJSON struct {
|
||||
cpyConfigParser ConfigParser
|
||||
cpyConfig ConfigJSON
|
||||
}
|
||||
|
||||
// ConfigParserIFace :: pasre
|
||||
func (this *ConfigParserJSON) parse(path string) error {
|
||||
// TODO
|
||||
// JSON::unmarshell(path)
|
||||
return nil
|
||||
}
|
||||
//
|
||||
//// TODO: TBD
|
||||
//type ConfigJSON struct {
|
||||
//}
|
||||
//
|
||||
//type ConfigParserJSON struct {
|
||||
// cpyConfigParser ConfigParser
|
||||
// cpyConfig ConfigJSON
|
||||
//}
|
||||
//
|
||||
//// ConfigParserIFace :: pasre
|
||||
//func (this *ConfigParserJSON) parse(path string) error {
|
||||
// // TODO
|
||||
// // JSON::unmarshell(path)
|
||||
// return nil
|
||||
//}
|
||||
|
|
Loading…
Reference in New Issue