From a8351bb18a650a56caef81bbb33915e7d4f05d03 Mon Sep 17 00:00:00 2001 From: Asim Date: Thu, 30 Jun 2016 20:23:53 +0100 Subject: [PATCH] Fix readme tabs --- README.md | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 4464ada..76284d9 100644 --- a/README.md +++ b/README.md @@ -14,18 +14,18 @@ import ( ) func main() { - srv := httpServer.NewServer( - server.Name("helloworld"), - ) + srv := httpServer.NewServer( + server.Name("helloworld"), + ) - mux := http.NewServeMux() - mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { - w.Write([]byte(`hello world`)) - }) + mux := http.NewServeMux() + mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + w.Write([]byte(`hello world`)) + }) - hd := srv.NewHandler(mux) + hd := srv.NewHandler(mux) - srv.Handle(hd) + srv.Handle(hd) srv.Start() srv.Register() } @@ -43,23 +43,23 @@ import ( ) func main() { - srv := httpServer.NewServer( - server.Name("helloworld"), - ) + srv := httpServer.NewServer( + server.Name("helloworld"), + ) - mux := http.NewServeMux() - mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { - w.Write([]byte(`hello world`)) - }) + mux := http.NewServeMux() + mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + w.Write([]byte(`hello world`)) + }) - hd := srv.NewHandler(mux) + hd := srv.NewHandler(mux) - srv.Handle(hd) + srv.Handle(hd) - service := micro.NewService( - micro.Server(srv), - ) + service := micro.NewService( + micro.Server(srv), + ) service.Init() - service.Run() + service.Run() } ```