Migrate to checker-sdk-go v1.3.0 with standalone build tag
The SDK split the HTTP server scaffolding into the new checker-sdk-go/checker/server subpackage. Update main.go to import server and call server.New, and isolate the interactive form code behind the standalone build tag so plugin/builtin builds skip net/http and html/template entirely.
This commit is contained in:
parent
1d562e7aa4
commit
f1615637d9
8 changed files with 17 additions and 10 deletions
6
go.mod
6
go.mod
|
|
@ -2,10 +2,12 @@ module git.happydns.org/checker-caa
|
|||
|
||||
go 1.25.0
|
||||
|
||||
require git.happydns.org/checker-sdk-go v1.1.0
|
||||
require (
|
||||
git.happydns.org/checker-sdk-go v1.3.0
|
||||
github.com/miekg/dns v1.1.72
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/miekg/dns v1.1.72 // indirect
|
||||
golang.org/x/mod v0.31.0 // indirect
|
||||
golang.org/x/net v0.48.0 // indirect
|
||||
golang.org/x/sync v0.19.0 // indirect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue