hclutils

package
v0.4.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 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