瀏覽代碼

Do not build files in echo example

Gary Burd 10 年之前
父節點
當前提交
13e4d0621c
共有 2 個文件被更改,包括 6 次插入2 次删除
  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 (