浏览代码

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"`