Skip to content

Commit

Permalink
gopium v1.8.0 prep
Browse files Browse the repository at this point in the history
  • Loading branch information
1pkg committed Apr 22, 2024
1 parent 08781ba commit fe5a817
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions extensions/vscode/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ Extension is based on and heavily using [vscode-go](https://github.com/microsoft

Nevertheless it's impossible to just seamlessly reuse another extension to build your own, so a lot of functionality has been patched and changed, most noticeable: vscode-go telemetry is disabled, vscode-go extension entrypoits are removed, [go-outline](https://github.com/ramya-rao-a/go-outline) is replaced with [go-outline](https://github.com/1pkg/goutline), etc.

To publish the extension use [guide](https://code.visualstudio.com/api/working-with-extensions/publishing-extension).

## Licence

Gopium is licensed under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion extensions/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": "Kostiantyn Masliuk - github.com/1pkg"
},
"license": "MIT",
"version": "1.7.0",
"version": "1.8.0",
"categories": [
"Programming Languages",
"Formatters",
Expand Down
2 changes: 1 addition & 1 deletion extensions/vscode/src/vscode-go
2 changes: 1 addition & 1 deletion gopium/opium.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gopium
// list of global registered gopium constants
const (
NAME = "gopium"
VERSION = "1.7.0"
VERSION = "1.8.0"
PKG = "https://github.com/1pkg/gopium"
STAMP = "🌺 gopium @1pkg"
)
2 changes: 1 addition & 1 deletion typepkg/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func TestParserXToolPackagesAstTypes(t *testing.T) {
ctx: context.Background(),
err: tests.OnOS(
"windows",
fmt.Errorf("%s", "couldn't run 'go': chdir test: The system cannot find the file specified."),
fmt.Errorf("%s", "chdir test: The system cannot find the file specified.: stderr: "),
fmt.Errorf("%s", "err: chdir test: no such file or directory: stderr: "),
).(error),
},
Expand Down
2 changes: 1 addition & 1 deletion typepkg/sizes.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func (t stubtype) String() string {
// stdsizes implements sizes interface using types std sizes
type stdsizes struct {
types.Sizes `gopium:"filter_pads,memory_pack,cache_rounding_cpu_l1_discrete,struct_annotate_comment,add_tag_group_force"`
} // struct size: 8 bytes; struct align: 8 bytes; struct aligned size: 8 bytes; struct ptr scan size: 8 bytes; - 🌺 gopium @1pkg
} // struct size: 16 bytes; struct align: 8 bytes; struct aligned size: 16 bytes; struct ptr scan size: 16 bytes; - 🌺 gopium @1pkg

func (s stdsizes) WordSize() int64 {
// This should work for both gc and gccgo types as default case returning proper WordSize.
Expand Down

0 comments on commit fe5a817

Please sign in to comment.