Skip to content

编译错误 #35

@fbion

Description

@fbion

go build ./cmd/kone

github.com/xjdrew/dnsconfig

/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:32:3: unknown field ndots in struct literal of type DnsConfig, but does have Ndots
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:33:3: unknown field timeout in struct literal of type DnsConfig, but does have Timeout
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:34:3: unknown field attempts in struct literal of type DnsConfig, but does have Attempts
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:38:8: conf.servers undefined (type *DnsConfig has no field or method servers, but does have field Servers)
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:39:8: conf.search undefined (type *DnsConfig has no field or method search, but does have field Search)
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:40:8: conf.err undefined (type *DnsConfig has no field or method err, but does have field Err)
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:45:8: conf.mtime undefined (type *DnsConfig has no field or method mtime, but does have field Mtime)
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:47:8: conf.servers undefined (type *DnsConfig has no field or method servers, but does have field Servers)
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:48:8: conf.search undefined (type *DnsConfig has no field or method search, but does have field Search)
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:49:8: conf.err undefined (type *DnsConfig has no field or method err, but does have field Err)
/Users/admin/go/pkg/mod/github.com/xjdrew/dnsconfig@v0.0.0-20240104111907-3ab1a6f060b1/dnsconfig_unix.go:49:8: too many errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions