Discover Packages
golang.org/x/website/go.dev
cmd
internal
site
package
Version:
v0.0.0-...-91e4906
Opens a new window with list of versions in this module.
Published: Jun 15, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 23
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package site implements generation of content for serving from go.dev.
It is meant to support a transition from being a Hugo-based web site
to being a site compatible with x/website.
A Site holds metadata about the entire site.
Load loads and returns the site in the directory rooted at dir.
Open returns the content to serve at the given path.
This function makes Site an http.FileServer, for easy HTTP serving.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.