bin: Add godoc alias to show output in pager
This commit is contained in:
parent
927545a8ff
commit
3501aa966a
1 changed files with 5 additions and 0 deletions
5
bin/godoc
Executable file
5
bin/godoc
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
go doc "$@" | bat
|
||||
Loading…
Reference in a new issue