Documentation ¶
Overview ¶
Package source contains utility functions that standardize reading source bytes across cue packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶ added in v0.9.0
func Open(filename string, src any) (io.ReadCloser, error)
Open creates a source reader for the given arguments. If src != nil, Open converts src to an io.Open if possible; otherwise it returns an error. If src == nil, Open returns the result of opening the file specified by filename.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.