Guest User

Untitled

a guest
Dec 23rd, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 4.44 KB | None | 0 0
  1. // https://golang.org/pkg/container/heap/:
  2. func Pop(h Interface) interface{}
  3. func Push(h Interface, x interface{})
  4. func Remove(h Interface, i int) interface{}
  5.  
  6.  
  7.  
  8. // https://golang.org/pkg/container/list/:
  9.     func (l *List) InsertAfter(v interface{}, mark *Element) *Element
  10.     func (l *List) InsertBefore(v interface{}, mark *Element) *Element
  11.     func (l *List) PushBack(v interface{}) *Element
  12.     func (l *List) PushFront(v interface{}) *Element
  13.     func (l *List) Remove(e *Element) interface{}
  14.  
  15.  
  16.  
  17. // https://golang.org/pkg/container/ring/:
  18.     func (r *Ring) Do(f func(interface{}))
  19.  
  20.  
  21.  
  22. // https://golang.org/pkg/crypto/x509/:
  23. func CreateCertificate(rand io.Reader, template, parent *Certificate, pub, priv interface{}) (cert []byte, err error)
  24. func CreateCertificateRequest(rand io.Reader, template *CertificateRequest, priv interface{}) (csr []byte, err error)
  25. func MarshalPKCS8PrivateKey(key interface{}) ([]byte, error)
  26. func MarshalPKIXPublicKey(pub interface{}) ([]byte, error)
  27. func ParsePKCS8PrivateKey(der []byte) (key interface{}, err error)
  28. func ParsePKIXPublicKey(derBytes []byte) (pub interface{}, err error)
  29.     func (c *Certificate) CreateCRL(rand io.Reader, priv interface{}, revokedCerts []pkix.RevokedCertificate, now, expiry time.Time) (crlBytes []byte, err error)
  30.  
  31.  
  32.  
  33. // https://golang.org/pkg/debug/dwarf/:
  34.     func (e *Entry) Val(a Attr) interface{}
  35.  
  36.  
  37.  
  38. // https://golang.org/pkg/expvar/:
  39.     func (f Func) Value() interface{}
  40.  
  41.  
  42.  
  43. // https://golang.org/pkg/go/ast/:
  44. func Fprint(w io.Writer, fset *token.FileSet, x interface{}, f FieldFilter) error
  45. func Print(fset *token.FileSet, x interface{}) error
  46.  
  47.  
  48.  
  49. // https://golang.org/pkg/go/format/:
  50. func Node(dst io.Writer, fset *token.FileSet, node interface{}) error
  51.  
  52.  
  53.  
  54. // https://golang.org/pkg/go/parser/:
  55. func ParseExprFrom(fset *token.FileSet, filename string, src interface{}, mode Mode) (ast.Expr, error)
  56. func ParseFile(fset *token.FileSet, filename string, src interface{}, mode Mode) (f *ast.File, err error)
  57.  
  58.  
  59.  
  60. // https://golang.org/pkg/go/printer/:
  61. func Fprint(output io.Writer, fset *token.FileSet, node interface{}) error
  62.     func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node interface{}) error
  63.  
  64.  
  65.  
  66. // https://golang.org/pkg/go/token/:
  67.     func (s *FileSet) Read(decode func(interface{}) error) error
  68.     func (s *FileSet) Write(encode func(interface{}) error) error
  69.  
  70.  
  71.  
  72. // https://golang.org/pkg/net/rpc/:
  73. func Register(rcvr interface{}) error
  74. func RegisterName(name string, rcvr interface{}) error
  75.     func (client *Client) Call(serviceMethod string, args interface{}, reply interface{}) error
  76.     func (client *Client) Go(serviceMethod string, args interface{}, reply interface{}, done chan *Call) *Call
  77.     func (server *Server) Register(rcvr interface{}) error
  78.     func (server *Server) RegisterName(name string, rcvr interface{}) error
  79.  
  80.  
  81.  
  82. // https://golang.org/pkg/os/:
  83.     func (p *ProcessState) Sys() interface{}
  84.     func (p *ProcessState) SysUsage() interface{}
  85.  
  86.  
  87.  
  88. // https://golang.org/pkg/runtime/:
  89. func SetFinalizer(obj interface{}, finalizer interface{})
  90.  
  91.  
  92.  
  93.  
  94. // https://golang.org/pkg/sort/:
  95. func Slice(slice interface{}, less func(i, j int) bool)
  96. func SliceIsSorted(slice interface{}, less func(i, j int) bool) bool
  97. func SliceStable(slice interface{}, less func(i, j int) bool)
  98.  
  99.  
  100.  
  101. // https://golang.org/pkg/sync/:
  102.     func (m *Map) Delete(key interface{})
  103.     func (m *Map) Load(key interface{}) (value interface{}, ok bool)
  104.     func (m *Map) LoadOrStore(key, value interface{}) (actual interface{}, loaded bool)
  105.     func (m *Map) Range(f func(key, value interface{}) bool)
  106.     func (m *Map) Store(key, value interface{})
  107.     func (p *Pool) Get() interface{}
  108.     func (p *Pool) Put(x interface{})
  109.  
  110.  
  111.  
  112. // https://golang.org/pkg/sync/atomic/:
  113.     func (v *Value) Load() (x interface{})
  114.     func (v *Value) Store(x interface{})
  115.  
  116.  
  117.  
  118. // https://golang.org/pkg/testing/quick/:
  119. func Check(f interface{}, config *Config) error
  120. func CheckEqual(f, g interface{}, config *Config) error
  121.  
  122.  
  123.  
  124. // https://golang.org/pkg/text/template/parse/:
  125. func Parse(name, text, leftDelim, rightDelim string, funcs ...map[string]interface{}) (map[string]*Tree, error)
  126.     func New(name string, funcs ...map[string]interface{}) *Tree
  127.     func (t *Tree) Parse(text, leftDelim, rightDelim string, treeSet map[string]*Tree, funcs ...map[string]interface{}) (tree *Tree, err error)
Advertisement
Add Comment
Please, Sign In to add comment