mirror of
https://github.com/prometheus/prometheus
synced 2024-12-29 02:02:17 +00:00
e2ede285a2
* refactor: move from io/ioutil to io and os packages * use fs.DirEntry instead of os.FileInfo after os.ReadDir Signed-off-by: MOREL Matthieu <matthieu.morel@cnp.fr> |
||
---|---|---|
.. | ||
interface_test.go | ||
interface.go | ||
openmetricslex.l | ||
openmetricslex.l.go | ||
openmetricsparse_test.go | ||
openmetricsparse.go | ||
promlex.l | ||
promlex.l.go | ||
promparse_test.go | ||
promparse.go | ||
promtestdata.nometa.txt | ||
promtestdata.txt | ||
README.md |
Making changes to textparse lexers
In the rare case that you need to update the textparse lexers, edit promlex.l or openmetricslex.l and then run the following command:
golex -o=promlex.l.go promlex.l
Note that you need golex installed:
go get -u modernc.org/golex