Skip to content

Commit

Permalink
chore(post): add summary
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Dec 2, 2024
1 parent fe000b6 commit 502c442
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions mkdocs/blog/posts/2024-12-02-go-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ well.

<!-- more -->

## Giving it a spin with `gotip`
## Giving this a spin with `gotip`

You can try it out today using
[`gotip`](https://pkg.go.dev/golang.org/dl/gotip):
Expand Down Expand Up @@ -82,7 +82,10 @@ You can now run tools like this:
gotip tool <the-tool>
```

And you can also see which bundled tools are available:
And if you step out of the project, the tool you just added is no longer
available.

You can also see which bundled tools are available by default with Go 1.24:

```bash
$ gotip tool
Expand All @@ -108,3 +111,15 @@ test2json
trace
vet
```

## Summary

I think this development is great, and it's something my colleagues and myself
have been waiting for. At work, we are currently using our own flavour of tools
management using [Sage](https://github.com/einride/sage) but more common
approaches are to use a `Makefile` and/or a `tools.go` file.

This new `go tool` workflow introduces less complexity (than the
`Makefile`/`tools.go` setup) but it likely won't solve all the use cases, like
splitting out test dependencies from the production dependencies or
solve/improve integration with IDEs/editors.

0 comments on commit 502c442

Please sign in to comment.