resources.ByType
Returns a collection of global resources of the given media type, or nil if none found.
resources.Concat
Returns a concatenated slice of resources.
resources.Copy
Returns a copy of the given resource at the target path.
resources.ExecuteAsTemplate
Returns a resource created from a Go template, parsed and executed with the given context.
resources.Fingerprint
Returns a fingerprinted resource, created by cryptographically hashing the content of the given resource.
resources.FromString
Returns a resource created from a string.
resources.Get
Returns a global resource from the given path, or nil if none found.
resources.GetMatch
Returns the first global resource from paths matching the given glob pattern, or nil if none found.
resources.GetRemote
Returns a remote resource from the given URL, or nil if none found.
resources.Match
Returns a collection of global resources from paths matching the given glob pattern, or nil if none found.
resources.Minify
Returns a minified version of the given resource.
resources.PostProcess
Returns a resource that is processed after the build.
resources.Publish
Returns the given resource after publishing it.
