toolsgolang.org/x/tools/godoc/golangorgenv Index | Files

package golangorgenv

import "golang.org/x/tools/godoc/golangorgenv"

Package golangorgenv provides environment information for programs running at golang.org and its subdomains.

Index

Functions

func CheckCountry

func CheckCountry() bool

CheckCountry reports whether country restrictions should be enforced.

func EnforceHosts

func EnforceHosts() bool

EnforceHosts reports whether host filtering should be enforced.

Source Files

golangorgenv.go

Version
v0.1.0
Published
Jan 19, 2021
Platform
darwin/amd64
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.