12345678910111213141516 |
- package main
- import (
- "context"
- "github.com/cloudflare/cloudflare-go"
- "testing"
- )
- func Test_test(t *testing.T) {
- api, _ := cloudflare.New("2cc87f6213a4c40e5a90c8dced3c9c577eda5", "ll@centcloud.net")
- ctxAPI := context.Background()
- rules, _ := api.ListPageRules(ctxAPI, "4b5063657ba1b1bc35a7e036198dac67")
- print(rules)
- }
|