Better docs

This commit is contained in:
Miek Gieben 2015-01-11 18:03:32 +00:00
parent 1e8afcf787
commit 74b8577dc6
1 changed files with 5 additions and 3 deletions

View File

@ -1,14 +1,14 @@
// FORMAT // FORMAT
// //
// The dns package implements String() for all RR types, but sometimes you will // 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 // need more flexibility. Here we define an extra set of formatting verbs that
// for the RR type. // can be used in the formatted I/O package fmt.
// //
// Printing // Printing
// //
// The verbs: // The verbs:
// //
// Generic part of RRs: // Generic parts of RRs:
// //
// %N the owner name of the RR // %N the owner name of the RR
// %C the class: IN, CH, CLASS15, etc. // %C the class: IN, CH, CLASS15, etc.
@ -26,6 +26,8 @@
// %9 the nineth rdata field // %9 the nineth rdata field
// %R all rdata fields // %R all rdata fields
// //
// Non exsiting rdata fields will be printed as the empty string.
//
package dns package dns
import ( import (