Parcourir la source

Do not build files in echo example

Gary Burd il y a 10 ans
Parent
commit
13e4d0621c
2 fichiers modifiés avec 6 ajouts et 2 suppressions
  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 (