hclutils

package
v0.5.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package hclutils provides test utils related to hcl.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func End

func End(line, column, char int) hhcl.Pos

End pos of a range.

func FixupFiledirOnErrorsFileRanges

func FixupFiledirOnErrorsFileRanges(dir string, errs []error)

FixupFiledirOnErrorsFileRanges fix the filename in the ranges of the error list.

func Mkrange

func Mkrange(fname string, start, end hhcl.Pos) hhcl.Range

Mkrange builds a file range.

func Start

func Start(line, column, char int) hhcl.Pos

Start pos of a range.

Types

This section is empty.

Directories

Path Synopsis
Package info provides functions useful to create types like [info.Range]
Package info provides functions useful to create types like [info.Range]

Jump to

Keyboard shortcuts

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