add ws2812 controller

This commit is contained in:
Jay
2020-04-16 17:05:10 +08:00
commit d7f1b47860
5 changed files with 111 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package config
type Server struct {
Port int `yaml:"port" env:"SERVER_PORT"`
}
type Config struct {
Server Server `yaml:"server"`
}
var c *Config
func Load(p ...string) error {
return nil
}