Forráskód Böngészése

Support $schema in configuration file

世界 2 éve
szülő
commit
7d22cf9b45
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      option/config.go

+ 1 - 0
option/config.go

@@ -9,6 +9,7 @@ import (
 )
 
 type _Options struct {
+	Schema       string               `json:"$schema,omitempty"`
 	Log          *LogOptions          `json:"log,omitempty"`
 	DNS          *DNSOptions          `json:"dns,omitempty"`
 	NTP          *NTPOptions          `json:"ntp,omitempty"`