mirror of
https://github.com/golang/go
synced 2024-11-05 15:46:11 -07:00
1330b289ad
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>
14 lines
275 B
Go
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()
|
|
}
|