From 9bf4310f86ed248d140e444206d4a759880b0d7a Mon Sep 17 00:00:00 2001 From: Jesse Coretta <{ID}+{username}@users.noreply.github.com> Date: Thu, 17 Oct 2024 23:29:24 -0700 Subject: [PATCH] add RFC2377 name forms, update readme, gofmt --- internal/rfc2307/macro.go | 2 +- internal/rfc2307/oc.go | 2 +- internal/rfc4523/at.go | 2 +- internal/rfc4524/at.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/rfc2307/macro.go b/internal/rfc2307/macro.go index 2e5c3c3..5b3e700 100644 --- a/internal/rfc2307/macro.go +++ b/internal/rfc2307/macro.go @@ -5,5 +5,5 @@ Macros defines a single name-to-numericOID macro allowing support for RFC 2307 definitions which do not specify explicit numeric OIDs. */ var Macros map[string]string = map[string]string{ - `nisSchema`: `1.3.6.1.1.1`, + `nisSchema`: `1.3.6.1.1.1`, } diff --git a/internal/rfc2307/oc.go b/internal/rfc2307/oc.go index 6cff1b0..80e6fea 100644 --- a/internal/rfc2307/oc.go +++ b/internal/rfc2307/oc.go @@ -1,7 +1,7 @@ package rfc2307 type ObjectClassDefinitions []ObjectClassDefinition -type ObjectClassDefinition string +type ObjectClassDefinition string func (r ObjectClassDefinitions) Len() int { return len(r) diff --git a/internal/rfc4523/at.go b/internal/rfc4523/at.go index 42a26db..f400956 100644 --- a/internal/rfc4523/at.go +++ b/internal/rfc4523/at.go @@ -8,7 +8,7 @@ func (r AttributeTypeDefinitions) Len() int { } var ( - AllAttributeTypes AttributeTypeDefinitions + AllAttributeTypes AttributeTypeDefinitions ) var ( diff --git a/internal/rfc4524/at.go b/internal/rfc4524/at.go index 42f8e7d..119f6bc 100644 --- a/internal/rfc4524/at.go +++ b/internal/rfc4524/at.go @@ -37,7 +37,7 @@ var ( Secretary, UniqueIdentifier, UserClass, - SingleLevelQuality AttributeTypeDefinition + SingleLevelQuality AttributeTypeDefinition ) func (r AttributeTypeDefinition) String() string {