Quellcode durchsuchen

Support $schema in configuration file

世界 vor 2 Jahren
Ursprung
Commit
7d22cf9b45
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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"`