spec

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package spec reads and fingerprints respex spec files.

Index

Constants

View Source
const Skeleton = `` /* 237-byte string literal not displayed */

Skeleton is the spec file written by `respex new` without a description.

Variables

This section is empty.

Functions

func Hash

func Hash(content []byte) string

Hash returns the sha256 hex digest of the contents.

func Read

func Read(path string) ([]byte, error)

Read returns the spec file contents; empty files are an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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