Quellcode durchsuchen

Do not build files in echo example

Gary Burd vor 10 Jahren
Ursprung
Commit
13e4d0621c
2 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen
  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 (