package config // Configuration type Config struct { Version string *Server `toml:"server"` *Log `toml:"log"` } // Server config type Server struct { Address string } // Log config type Log struct { Level string }