1
0
mirror of https://github.com/golang/go synced 2024-10-01 09:28:37 -06:00
go/godoc/appengine.go
Andrew Gerrand 1330b289ad godoc: hide and block share functionality from specific countries
This will permit us to serve *.golang.org to Chinese users.

Change-Id: I5217753aa67931522c7e6be106477534c99a20b2
Reviewed-on: https://go-review.googlesource.com/14194
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-09-02 05:52:45 +00:00

14 lines
275 B
Go

// Copyright 2015 The Go 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 appengine
package godoc
import "appengine"
func init() {
onAppengine = !appengine.IsDevAppServer()
}