Skip to content

Commit

Permalink
Version 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
charlespascoe committed Jan 18, 2023
1 parent 2fb7e5a commit bdfd827
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ Summary of options (see below table for descriptions):
- Structs literals (`MyStruct{...}`) can't have a space between the name and the
braces, despite the fact that Go permits this.
- Type conversion (`MyType(someVal)`) is highlighted like a function call
- A slice literal whose type is a function with multiple return values and the
type is not in parentheses (e.g. `[]func(a, b int) (c, d Foo){ f1, f2, f3 }`)
is technically valid Go code, but the `Foo` type will not be highlighted
- A slice or map literal whose type is a function with multiple return values
and the type is not in parentheses (e.g. `[]func(a, b int) (c, d Foo){ f1, f2,
f3 }`) is technically valid Go code, but the `Foo` type will not be highlighted
correctly.
- This can easily be avoided by wrapping the type in parentheses to make it
clear (e.g. `[](func(a, b int) (c, d Foo)){ f1, f2, f3 }`, which is
Expand Down
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## Version 0.3.0 - 2023/01/18

### Added

Expand Down

0 comments on commit bdfd827

Please sign in to comment.