Skip to content

Commit

Permalink
Update to go 1.21.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krivak committed Aug 18, 2023
1 parent 9f0a33a commit 85a9751
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/tetafro/godot

go 1.16
go 1.21

require gopkg.in/yaml.v2 v2.4.0
5 changes: 5 additions & 0 deletions testdata/check/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ type Message struct {
Type string
}

// Generic type [PASS].
type Array[T int64 | float64] struct {
Elements []T
}

// Declaration multiline comment
// second line
// third line with a period [PASS].
Expand Down

0 comments on commit 85a9751

Please sign in to comment.