diff options
author | 2021-02-24 10:22:15 +0000 | |
---|---|---|
committer | 2021-02-24 10:22:15 +0000 | |
commit | ff9b4bcb986323dc294d48c87848682138fd4816 (patch) | |
tree | 73fd59e2de66ca2e8572ed4fbdd2c3d1c749a34d /plugin/rewrite/ttl.go | |
parent | d07a3ac6c21e7ab1f927d006e8ed30e0ee1e9f3c (diff) | |
download | coredns-ff9b4bcb986323dc294d48c87848682138fd4816.tar.gz coredns-ff9b4bcb986323dc294d48c87848682138fd4816.tar.zst coredns-ff9b4bcb986323dc294d48c87848682138fd4816.zip |
auto go fmtv1.8.2
Diffstat (limited to 'plugin/rewrite/ttl.go')
-rw-r--r-- | plugin/rewrite/ttl.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugin/rewrite/ttl.go b/plugin/rewrite/ttl.go index 999f03547..6af9cdc40 100644 --- a/plugin/rewrite/ttl.go +++ b/plugin/rewrite/ttl.go @@ -13,32 +13,32 @@ import ( ) type exactTTLRule struct { - NextAction string - From string + NextAction string + From string ResponseRules []ResponseRule } type prefixTTLRule struct { - NextAction string - Prefix string + NextAction string + Prefix string ResponseRules []ResponseRule } type suffixTTLRule struct { - NextAction string - Suffix string + NextAction string + Suffix string ResponseRules []ResponseRule } type substringTTLRule struct { - NextAction string - Substring string + NextAction string + Substring string ResponseRules []ResponseRule } type regexTTLRule struct { - NextAction string - Pattern *regexp.Regexp + NextAction string + Pattern *regexp.Regexp ResponseRules []ResponseRule } |