Skip to content

compile error: invalid composite literal type libdns.Record #8

@zhangqx1

Description

@zhangqx1
171.1 # github.com/libdns/alidns
171.1 /go/pkg/mod/github.com/libdns/alidns@v1.0.4/models.go:61:9: invalid composite literal type libdns.Record
171.1 /go/pkg/mod/github.com/libdns/alidns@v1.0.4/models.go:88:12: r.Name undefined (type libdns.Record has no field or method Name)
171.1 /go/pkg/mod/github.com/libdns/alidns@v1.0.4/models.go:89:12: r.Type undefined (type libdns.Record has no field or method Type)
171.1 /go/pkg/mod/github.com/libdns/alidns@v1.0.4/models.go:90:12: r.Value undefined (type libdns.Record has no field or method Value)
171.1 /go/pkg/mod/github.com/libdns/alidns@v1.0.4/models.go:91:12: r.ID undefined (type libdns.Record has no field or method ID)
171.1 /go/pkg/mod/github.com/libdns/alidns@v1.0.4/models.go:92:16: r.TTL undefined (type libdns.Record has no field or method TTL)
171.1 /go/pkg/mod/github.com/libdns/alidns@v1.0.4/models.go:98:33: r.Name undefined (type libdns.Record has no field or method Name)
207.8 2025/04/26 13:21:31 [INFO] Skipping cleanup as requested; leaving folder intact: /tmp/buildenv_2025-04-26-1318.600938505
207.8 2025/04/26 13:21:31 [FATAL] exit status 1
------
Dockerfile:3
--------------------
   1 |     FROM caddy:builder-alpine AS builder
   2 |
   3 | >>> RUN xcaddy build --with github.com/caddy-dns/alidns
   4 |
   5 |     FROM caddy:latest
--------------------
ERROR: failed to solve: process "/bin/sh -c xcaddy build --with github.com/caddy-dns/alidns" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions