diff options
| author | Shulhan <ms@kilabit.info> | 2023-08-05 14:28:55 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-08-05 14:28:55 +0700 |
| commit | bd2ae82e254e203a021c9907e41b41ec0643ad49 (patch) | |
| tree | 4acf0ad705ed44b36da1a240b0bd83d51a8a8adc /lib/dns/testdata | |
| parent | 75d59dff238b78076ca8c7f12fc660e6e75da288 (diff) | |
| download | pakakeh.go-bd2ae82e254e203a021c9907e41b41ec0643ad49.tar.xz | |
lib/dns: directly use the map RecordClasses and RecordTypes
Previously, to check if string value is valid record class or type, we
use a function that iterate each map key and return a boolean.
This changes simplify it by getting the map RecordClasses and RecordTypes
value directly.
Diffstat (limited to 'lib/dns/testdata')
0 files changed, 0 insertions, 0 deletions
