add gopherjs build tag

it behaves the same way as the appengine tag

fix #716
This commit is contained in:
Grace Noah 2018-02-23 21:35:25 +00:00
parent 8c0189d9f6
commit c840e59446
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
// +build darwin freebsd openbsd netbsd dragonfly
// +build !appengine
// +build !appengine,!gopherjs
package logrus

View File

@ -1,4 +1,4 @@
// +build appengine
// +build appengine gopherjs
package logrus

View File

@ -1,4 +1,4 @@
// +build !appengine
// +build !appengine,!gopherjs
package logrus

View File

@ -3,7 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !appengine
// +build !appengine,!gopherjs
package logrus