tpl: Add godoc packages comments

Also fix package name in tpl/templates.
This commit is contained in:
Cameron Moore 2018-11-29 21:32:53 -06:00 committed by Bjørn Erik Pedersen
parent 8346848109
commit 30a7c9ea37
23 changed files with 29 additions and 3 deletions

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package cast provides template functions for data type conversions.
package cast
import (

View file

@ -11,6 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package collections provides template functions for manipulating collections
// such as arrays, maps, and slices.
package collections
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package compare provides template functions for comparing values.
package compare
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package crypto provides template functions for cryptographic operations.
package crypto
import (

View file

@ -11,6 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package data provides template functions for working with external data
// sources.
package data
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package encoding provides template functions for encoding content.
package encoding
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package fmt provides template functions for formatting strings.
package fmt
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package images provides template functions for manipulating images.
package images
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package inflect provides template functions for the inflection of words.
package inflect
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package lang provides template functions for content internationalization.
package lang
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package math provides template functions for mathmatical operations.
package math
import (

View file

@ -11,6 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package os provides template functions for interacting with the operating
// system.
package os
import (

View file

@ -11,6 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package partials provides template functions for working with reusable
// templates.
package partials
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package path provides template functions for manipulating paths.
package path
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package resources provides template functions for working with resources.
package resources
import (

View file

@ -11,6 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package safe provides template functions for escaping untrusted content or
// encapsulating trusted content.
package safe
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package strings provides template functions for manipulating strings.
package strings
import (

View file

@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package partials
package templates
import (
"github.com/gohugoio/hugo/deps"

View file

@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package partials
package templates
import (
"testing"

View file

@ -11,7 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package partials
// Package templates provides template functions for working with templates.
package templates
import (
"github.com/gohugoio/hugo/deps"

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package time provides template functions for measuring and displaying time.
package time
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package transform provides template functions for transforming content.
package transform
import (

View file

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package urls provides template functions to deal with URLs.
package urls
import (