Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashFileContents

func HashFileContents(path string) (string, error)

HashFileContents returns a sha256 digest of the file contents.

func HashPath

func HashPath(path string, suffix string) string

HashPath returns a sha256-based identifier for the given path combined with suffix.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL