14 lines
345 B
Go
14 lines
345 B
Go
package apollo
|
|
|
|
type jsonExtParser struct{}
|
|
|
|
func (parser jsonExtParser) Parse(configContent any) (map[string]any, error) {
|
|
return map[string]any{"content": configContent}, nil
|
|
}
|
|
|
|
type yamlExtParser struct{}
|
|
|
|
func (parser yamlExtParser) Parse(configContent any) (map[string]any, error) {
|
|
return map[string]any{"content": configContent}, nil
|
|
}
|