Blame view

plugins/golang/templates/package.txt 761 Bytes
ed37aae5b   mj   Squashed 'repos/r...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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}}