From 6f7127bb76a801fb5862378c21005d236404c97d Mon Sep 17 00:00:00 2001 From: amit b Date: Sun, 16 Jun 2019 04:20:17 +0300 Subject: [PATCH] fixed vet error in aten messages --- messages_aten.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/messages_aten.go b/messages_aten.go index e078652..f44ff6a 100644 --- a/messages_aten.go +++ b/messages_aten.go @@ -116,7 +116,7 @@ func (msg *AteniKVMFrontGroundEvent) Supported(c Conn) bool { // String return string representation func (msg *AteniKVMFrontGroundEvent) String() string { - return fmt.Sprintf("%s", msg.Type()) + return fmt.Sprintf("%v", msg.Type()) } // Type return ServerMessageType @@ -160,7 +160,7 @@ func (msg *AteniKVMKeepAliveEvent) Supported(c Conn) bool { // String return string representation func (msg *AteniKVMKeepAliveEvent) String() string { - return fmt.Sprintf("%s", msg.Type()) + return fmt.Sprintf("%v", msg.Type()) } // Type return ServerMessageType @@ -204,7 +204,7 @@ func (msg *AteniKVMVideoGetInfo) Supported(c Conn) bool { // String return string representation func (msg *AteniKVMVideoGetInfo) String() string { - return fmt.Sprintf("%s", msg.Type()) + return fmt.Sprintf("%v", msg.Type()) } // Type return ServerMessageType @@ -248,7 +248,7 @@ func (msg *AteniKVMMouseGetInfo) Supported(c Conn) bool { // String return string representation func (msg *AteniKVMMouseGetInfo) String() string { - return fmt.Sprintf("%s", msg.Type()) + return fmt.Sprintf("%v", msg.Type()) } // Type return ServerMessageType @@ -292,7 +292,7 @@ func (msg *AteniKVMSessionMessage) Supported(c Conn) bool { // String return string representation func (msg *AteniKVMSessionMessage) String() string { - return fmt.Sprintf("%s", msg.Type()) + return fmt.Sprintf("%v", msg.Type()) } // Type return ServerMessageType @@ -336,7 +336,7 @@ func (msg *AteniKVMGetViewerLang) Supported(c Conn) bool { // String return string representation func (msg *AteniKVMGetViewerLang) String() string { - return fmt.Sprintf("%s", msg.Type()) + return fmt.Sprintf("%v", msg.Type()) } // Type return ServerMessageType