From 8b3f91e379766fa316090e0df4c0102a6a6f771c Mon Sep 17 00:00:00 2001 From: CodeLingoBot Date: Tue, 16 Apr 2019 16:18:41 +1200 Subject: [PATCH] Fix function comments based on best practices from Effective Go Signed-off-by: CodeLingoBot --- mq.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mq.go b/mq.go index 6e02fba..1f222b7 100644 --- a/mq.go +++ b/mq.go @@ -103,12 +103,12 @@ func (mq *MessageQueue) ReceiveString(msgType int, flags int) (string, int, erro } } -// Get statistics about the message queue. +// Stat gets statistics about the message queue. func (mq *MessageQueue) Stat() (*QueueStats, error) { return ipcStat(mq.id) } -// Get statistics about the message queue. +// Destroy gets statistics about the message queue. func (mq *MessageQueue) Destroy() error { defer mq.Close() return ipcDestroy(mq.id)