Domain name information filing
go get -u -v github.com/houseme/icp-filing@main
package main
import (
"context"
"fmt"
filing "github.com/houseme/icp-filing"
"github.com/houseme/icp-filing/utility/logger"
"github.com/houseme/icp-filing/utility/request"
)
func main() {
ctx := context.Background()
f := filing.New(ctx, filing.WithLogger(logger.NewDefaultLogger()), filing.WithRequest(request.NewDefaultRequest()))
resp, err := f.DomainFilling(ctx, &filing.QueryRequest{
UnitName: "baidu.com",
})
if err != nil {
panic(err)
}
fmt.Println("resp:", resp)
}
The default logging dependency in the current project requires Go version 1.21.0 or above.
FeiE is primarily distributed under the terms of both the Apache License (Version 2.0)