소스 검색

Support $schema in configuration file

世界 2 년 전
부모
커밋
7d22cf9b45
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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"`