package modcheck

import "github.com/a-h/templ/cmd/templ/generatecmd/modcheck"

Index

Functions

func Check

func Check(dir string) error

func WalkUp

func WalkUp(dir string) (string, error)

WalkUp the directory tree, starting at dir, until we find a directory containing a go.mod file.

Source Files

modcheck.go

Version
v0.3.924 (latest)
Published
Jul 26, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
3 days ago

Tools for package owners.