Przeglądaj źródła

Do not build files in echo example

Gary Burd 10 lat temu
rodzic
commit
13e4d0621c
2 zmienionych plików z 6 dodań i 2 usunięć
  1. 3 1
      examples/echo/client.go
  2. 3 1
      examples/echo/server.go

+ 3 - 1
examples/echo/client.go

@@ -1,7 +1,9 @@
-// Copyright 2013 The Gorilla WebSocket Authors. All rights reserved.
+// Copyright 2015 The Gorilla WebSocket Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build ignore
+
 package main
 
 import (

+ 3 - 1
examples/echo/server.go

@@ -1,7 +1,9 @@
-// Copyright 2013 The Gorilla WebSocket Authors. All rights reserved.
+// Copyright 2015 The Gorilla WebSocket Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build ignore
+
 package main
 
 import (