From 74b8577dc6e8448afe7c016aa3b6365b8230f93e Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Sun, 11 Jan 2015 18:03:32 +0000 Subject: [PATCH] Better docs --- format.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/format.go b/format.go index f3ddf125..12bc4f76 100644 --- a/format.go +++ b/format.go @@ -1,14 +1,14 @@ // FORMAT // // The dns package implements String() for all RR types, but sometimes you will -// need more flexibility. The functions Printf, Sprintf, etc. implemented formatted I/O -// for the RR type. +// need more flexibility. Here we define an extra set of formatting verbs that +// can be used in the formatted I/O package fmt. // // Printing // // The verbs: // -// Generic part of RRs: +// Generic parts of RRs: // // %N the owner name of the RR // %C the class: IN, CH, CLASS15, etc. @@ -26,6 +26,8 @@ // %9 the nineth rdata field // %R all rdata fields // +// Non exsiting rdata fields will be printed as the empty string. +// package dns import (