From 61a950b8cede21818762ac02f56b93b5314ca840 Mon Sep 17 00:00:00 2001 From: "Iskander (Alex) Sharipov" Date: Tue, 8 Jan 2019 23:03:45 +0300 Subject: [PATCH] readme: add "go" code marker This enables proper syntax highlighting on GitHub. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f66c426..f8e2684 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Then multiple clients can subscribe to results based on their different needs. F #### Server Example -``` +```go // Create a new server svr := &service.Server{ KeepAlive: 300, // seconds @@ -128,7 +128,7 @@ svr.ListenAndServe("tcp://:1883") ``` #### Client Example -``` +```go // Instantiates a new Client c := &Client{}