From 8a2e1006b3b272126332aa064f3ad95387129544 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Thu, 13 Feb 2025 14:13:49 +0530 Subject: new dot files --- .../oh-my-zsh/plugins/golang/templates/package.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .config/zsh/oh-my-zsh/plugins/golang/templates/package.txt (limited to '.config/zsh/oh-my-zsh/plugins/golang/templates/package.txt') diff --git a/.config/zsh/oh-my-zsh/plugins/golang/templates/package.txt b/.config/zsh/oh-my-zsh/plugins/golang/templates/package.txt new file mode 100644 index 0000000..2b75cce --- /dev/null +++ b/.config/zsh/oh-my-zsh/plugins/golang/templates/package.txt @@ -0,0 +1,29 @@ +{{with .PDoc}}{{/* + +Constants +--------------------------------------- + +*/}}{{with .Consts}}{{range .}}{{range .Names}}{{.}} {{end}}{{end}}{{end}}{{/* + +Variables +--------------------------------------- + +*/}}{{with .Vars}}{{range .}}{{range .Names}}{{.}} {{end}}{{end}}{{end}}{{/* + +Functions +--------------------------------------- + +*/}}{{with .Funcs}}{{range .}}{{ .Name }} {{end}}{{end}}{{/* + +Types +--------------------------------------- + +*/}}{{with .Types}}{{range .}}{{ $TypeName := .Name }}{{ $TypeName }} {{/* + +*/}}{{range .Methods}}{{ $TypeName }}.{{.Name}} {{end}}{{/* + +*/}}{{range .Funcs}}{{.Name}} {{end}}{{/* + +*/}}{{range .Consts}}{{range .Names}}{{.}} {{end}}{{end}}{{/* + +*/}}{{range .Vars}}{{range .Names}}{{.}} {{end}}{{end}}{{end}}{{end}}{{end}} -- cgit v1.2.3-59-g8ed1b