// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn . package models import "strings" type RecordKey string func NewRecordKey(recordName string, recordType string) RecordKey { // 记录名全部使用小写 return RecordKey(strings.ToLower(recordName) + "|" + recordType) }