Tomo will call the parse functions in Theme and Config

This commit is contained in:
2023-02-03 17:50:45 -05:00
parent 2ff32ca8ea
commit 43fea5c8ba
4 changed files with 71 additions and 4 deletions

View File

@@ -2,8 +2,8 @@ package config
import "io"
// Parse parses a configuration file and returns it as a Config.
func Parse (source io.Reader) (config Config) {
// Parse parses one or more configuration files and returns them as a Config.
func Parse (sources ...io.Reader) (config Config) {
// TODO
return Default { }
}