Add zsh/oh my zsh/w10k
This commit is contained in:
29
zsh/.oh-my-zsh/plugins/golang/templates/package.txt
Normal file
29
zsh/.oh-my-zsh/plugins/golang/templates/package.txt
Normal file
@ -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}}
|
0
zsh/.oh-my-zsh/plugins/golang/templates/search.txt
Normal file
0
zsh/.oh-my-zsh/plugins/golang/templates/search.txt
Normal file
Reference in New Issue
Block a user