mirror of
https://github.com/HiPhish/rainbow-delimiters.nvim.git
synced 2024-09-16 14:24:05 +02:00
Add regex to Go highlight test file
This commit is contained in:
parent
75e43d8824
commit
698a439662
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
"sort"
|
||||
"regexp"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -41,6 +42,8 @@ func SumUp[K comparable, V float32](v1 V, v2 V) V {
|
|||
}
|
||||
|
||||
func main() {
|
||||
var re = regexp.MustCompile(`x`)
|
||||
|
||||
wines := []Wine{
|
||||
{"Cabernet Sauvignon", 1991, 200.0, true},
|
||||
{"Merlot", 1939, 500.0, true},
|
||||
|
|
Loading…
Reference in a new issue