From e4d9e184da278bc783aca3118a977adc59f5c093 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 24 Aug 2012 15:06:15 +0200 Subject: [PATCH] Dont export any raw function --- rawmsg.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rawmsg.go b/rawmsg.go index f7a4a8d3..611157a8 100644 --- a/rawmsg.go +++ b/rawmsg.go @@ -4,11 +4,11 @@ package dns -// These Raw* functions do not use reflection, they directly set the values +// These raw* functions do not use reflection, they directly set the values // in the buffer. There are faster than their reflection counterparts. // RawSetId sets the message id in buf. -func RawSetId(msg []byte, i uint16) { +func rawSetId(msg []byte, i uint16) { msg[0], msg[1] = packUint16(i) }