Guest User

Untitled

a guest
Dec 23rd, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 13.48 KB | None | 0 0
  1. // https://golang.org/pkg/builtin/:
  2. func panic(v interface{})
  3. func recover() interface{}
  4.  
  5.  
  6.  
  7. // https://golang.org/pkg/container/heap/:
  8. func Pop(h Interface) interface{}
  9. func Push(h Interface, x interface{})
  10. func Remove(h Interface, i int) interface{}
  11.  
  12.  
  13.  
  14. // https://golang.org/pkg/container/list/:
  15.     func (l *List) InsertAfter(v interface{}, mark *Element) *Element
  16.     func (l *List) InsertBefore(v interface{}, mark *Element) *Element
  17.     func (l *List) PushBack(v interface{}) *Element
  18.     func (l *List) PushFront(v interface{}) *Element
  19.     func (l *List) Remove(e *Element) interface{}
  20.  
  21.  
  22.  
  23. // https://golang.org/pkg/container/ring/:
  24.     func (r *Ring) Do(f func(interface{}))
  25.  
  26.  
  27.  
  28. // https://golang.org/pkg/context/:
  29.     func WithValue(parent Context, key, val interface{}) Context
  30.  
  31.  
  32.  
  33. // https://golang.org/pkg/crypto/x509/:
  34. func CreateCertificate(rand io.Reader, template, parent *Certificate, pub, priv interface{}) (cert []byte, err error)
  35. func CreateCertificateRequest(rand io.Reader, template *CertificateRequest, priv interface{}) (csr []byte, err error)
  36. func MarshalPKCS8PrivateKey(key interface{}) ([]byte, error)
  37. func MarshalPKIXPublicKey(pub interface{}) ([]byte, error)
  38. func ParsePKCS8PrivateKey(der []byte) (key interface{}, err error)
  39. func ParsePKIXPublicKey(derBytes []byte) (pub interface{}, err error)
  40.     func (c *Certificate) CreateCRL(rand io.Reader, priv interface{}, revokedCerts []pkix.RevokedCertificate, now, expiry time.Time) (crlBytes []byte, err error)
  41.  
  42.  
  43.  
  44. // https://golang.org/pkg/database/sql/:
  45.     func (c *Conn) ExecContext(ctx context.Context, query string, args ...interface{}) (Result, error)
  46.     func (c *Conn) QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error)
  47.     func (c *Conn) QueryRowContext(ctx context.Context, query string, args ...interface{}) *Row
  48.     func (db *DB) Exec(query string, args ...interface{}) (Result, error)
  49.     func (db *DB) ExecContext(ctx context.Context, query string, args ...interface{}) (Result, error)
  50.     func (db *DB) Query(query string, args ...interface{}) (*Rows, error)
  51.     func (db *DB) QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error)
  52.     func (db *DB) QueryRow(query string, args ...interface{}) *Row
  53.     func (db *DB) QueryRowContext(ctx context.Context, query string, args ...interface{}) *Row
  54.     func Named(name string, value interface{}) NamedArg
  55.     func (n *NullBool) Scan(value interface{}) error
  56.     func (n *NullFloat64) Scan(value interface{}) error
  57.     func (n *NullInt64) Scan(value interface{}) error
  58.     func (ns *NullString) Scan(value interface{}) error
  59.     func (r *Row) Scan(dest ...interface{}) error
  60.     func (rs *Rows) Scan(dest ...interface{}) error
  61.     func (s *Stmt) Exec(args ...interface{}) (Result, error)
  62.     func (s *Stmt) ExecContext(ctx context.Context, args ...interface{}) (Result, error)
  63.     func (s *Stmt) Query(args ...interface{}) (*Rows, error)
  64.     func (s *Stmt) QueryContext(ctx context.Context, args ...interface{}) (*Rows, error)
  65.     func (s *Stmt) QueryRow(args ...interface{}) *Row
  66.     func (s *Stmt) QueryRowContext(ctx context.Context, args ...interface{}) *Row
  67.     func (tx *Tx) Exec(query string, args ...interface{}) (Result, error)
  68.     func (tx *Tx) ExecContext(ctx context.Context, query string, args ...interface{}) (Result, error)
  69.     func (tx *Tx) Query(query string, args ...interface{}) (*Rows, error)
  70.     func (tx *Tx) QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error)
  71.     func (tx *Tx) QueryRow(query string, args ...interface{}) *Row
  72.     func (tx *Tx) QueryRowContext(ctx context.Context, query string, args ...interface{}) *Row
  73.  
  74.  
  75.  
  76. // https://golang.org/pkg/database/sql/driver/:
  77. func IsScanValue(v interface{}) bool
  78. func IsValue(v interface{}) bool
  79.     func (n NotNull) ConvertValue(v interface{}) (Value, error)
  80.     func (n Null) ConvertValue(v interface{}) (Value, error)
  81.  
  82.  
  83.  
  84. // https://golang.org/pkg/debug/dwarf/:
  85.     func (e *Entry) Val(a Attr) interface{}
  86.  
  87.  
  88.  
  89. // https://golang.org/pkg/encoding/asn1/:
  90. func Marshal(val interface{}) ([]byte, error)
  91. func MarshalWithParams(val interface{}, params string) ([]byte, error)
  92. func Unmarshal(b []byte, val interface{}) (rest []byte, err error)
  93. func UnmarshalWithParams(b []byte, val interface{}, params string) (rest []byte, err error)
  94.  
  95.  
  96.  
  97. // https://golang.org/pkg/encoding/binary/:
  98. func Read(r io.Reader, order ByteOrder, data interface{}) error
  99. func Size(v interface{}) int
  100. func Write(w io.Writer, order ByteOrder, data interface{}) error
  101.  
  102.  
  103.  
  104. // https://golang.org/pkg/encoding/gob/:
  105. func Register(value interface{})
  106. func RegisterName(name string, value interface{})
  107.     func (dec *Decoder) Decode(e interface{}) error
  108.     func (enc *Encoder) Encode(e interface{}) error
  109.  
  110.  
  111.  
  112. // https://golang.org/pkg/encoding/json/:
  113. func Marshal(v interface{}) ([]byte, error)
  114. func MarshalIndent(v interface{}, prefix, indent string) ([]byte, error)
  115. func Unmarshal(data []byte, v interface{}) error
  116.     func (dec *Decoder) Decode(v interface{}) error
  117.     func (enc *Encoder) Encode(v interface{}) error
  118.  
  119.  
  120.  
  121. // https://golang.org/pkg/encoding/xml/:
  122. func Marshal(v interface{}) ([]byte, error)
  123. func MarshalIndent(v interface{}, prefix, indent string) ([]byte, error)
  124. func Unmarshal(data []byte, v interface{}) error
  125.     func (d *Decoder) Decode(v interface{}) error
  126.     func (d *Decoder) DecodeElement(v interface{}, start *StartElement) error
  127.     func (enc *Encoder) Encode(v interface{}) error
  128.     func (enc *Encoder) EncodeElement(v interface{}, start StartElement) error
  129.  
  130.  
  131.  
  132. // https://golang.org/pkg/expvar/:
  133.     func (f Func) Value() interface{}
  134.  
  135.  
  136.  
  137. // https://golang.org/pkg/fmt/:
  138. func Errorf(format string, a ...interface{}) error
  139. func Fprint(w io.Writer, a ...interface{}) (n int, err error)
  140. func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error)
  141. func Fprintln(w io.Writer, a ...interface{}) (n int, err error)
  142. func Fscan(r io.Reader, a ...interface{}) (n int, err error)
  143. func Fscanf(r io.Reader, format string, a ...interface{}) (n int, err error)
  144. func Fscanln(r io.Reader, a ...interface{}) (n int, err error)
  145. func Print(a ...interface{}) (n int, err error)
  146. func Printf(format string, a ...interface{}) (n int, err error)
  147. func Println(a ...interface{}) (n int, err error)
  148. func Scan(a ...interface{}) (n int, err error)
  149. func Scanf(format string, a ...interface{}) (n int, err error)
  150. func Scanln(a ...interface{}) (n int, err error)
  151. func Sprint(a ...interface{}) string
  152. func Sprintf(format string, a ...interface{}) string
  153. func Sprintln(a ...interface{}) string
  154. func Sscan(str string, a ...interface{}) (n int, err error)
  155. func Sscanf(str string, format string, a ...interface{}) (n int, err error)
  156. func Sscanln(str string, a ...interface{}) (n int, err error)
  157.  
  158.  
  159.  
  160. // https://golang.org/pkg/go/ast/:
  161. func Fprint(w io.Writer, fset *token.FileSet, x interface{}, f FieldFilter) error
  162. func Print(fset *token.FileSet, x interface{}) error
  163.  
  164.  
  165.  
  166. // https://golang.org/pkg/go/format/:
  167. func Node(dst io.Writer, fset *token.FileSet, node interface{}) error
  168.  
  169.  
  170.  
  171. // https://golang.org/pkg/go/parser/:
  172. func ParseExprFrom(fset *token.FileSet, filename string, src interface{}, mode Mode) (ast.Expr, error)
  173. func ParseFile(fset *token.FileSet, filename string, src interface{}, mode Mode) (f *ast.File, err error)
  174.  
  175.  
  176.  
  177. // https://golang.org/pkg/go/printer/:
  178. func Fprint(output io.Writer, fset *token.FileSet, node interface{}) error
  179.     func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node interface{}) error
  180.  
  181.  
  182.  
  183. // https://golang.org/pkg/go/token/:
  184.     func (s *FileSet) Read(decode func(interface{}) error) error
  185.     func (s *FileSet) Write(encode func(interface{}) error) error
  186.  
  187.  
  188.  
  189. // https://golang.org/pkg/html/template/:
  190. func HTMLEscaper(args ...interface{}) string
  191. func IsTrue(val interface{}) (truth, ok bool)
  192. func JSEscaper(args ...interface{}) string
  193. func URLQueryEscaper(args ...interface{}) string
  194.     func (t *Template) Execute(wr io.Writer, data interface{}) error
  195.     func (t *Template) ExecuteTemplate(wr io.Writer, name string, data interface{}) error
  196.  
  197.  
  198.  
  199. // https://golang.org/pkg/log/:
  200. func Fatal(v ...interface{})
  201. func Fatalf(format string, v ...interface{})
  202. func Fatalln(v ...interface{})
  203. func Panic(v ...interface{})
  204. func Panicf(format string, v ...interface{})
  205. func Panicln(v ...interface{})
  206. func Print(v ...interface{})
  207. func Printf(format string, v ...interface{})
  208. func Println(v ...interface{})
  209.     func (l *Logger) Fatal(v ...interface{})
  210.     func (l *Logger) Fatalf(format string, v ...interface{})
  211.     func (l *Logger) Fatalln(v ...interface{})
  212.     func (l *Logger) Panic(v ...interface{})
  213.     func (l *Logger) Panicf(format string, v ...interface{})
  214.     func (l *Logger) Panicln(v ...interface{})
  215.     func (l *Logger) Print(v ...interface{})
  216.     func (l *Logger) Printf(format string, v ...interface{})
  217.     func (l *Logger) Println(v ...interface{})
  218.  
  219.  
  220.  
  221. // https://golang.org/pkg/net/rpc/:
  222. func Register(rcvr interface{}) error
  223. func RegisterName(name string, rcvr interface{}) error
  224.     func (client *Client) Call(serviceMethod string, args interface{}, reply interface{}) error
  225.     func (client *Client) Go(serviceMethod string, args interface{}, reply interface{}, done chan *Call) *Call
  226.     func (server *Server) Register(rcvr interface{}) error
  227.     func (server *Server) RegisterName(name string, rcvr interface{}) error
  228.  
  229.  
  230.  
  231. // https://golang.org/pkg/net/textproto/:
  232.     func (c *Conn) Cmd(format string, args ...interface{}) (id uint, err error)
  233.     func (w *Writer) PrintfLine(format string, args ...interface{}) error
  234.  
  235.  
  236.  
  237. // https://golang.org/pkg/os/:
  238.     func (p *ProcessState) Sys() interface{}
  239.     func (p *ProcessState) SysUsage() interface{}
  240.  
  241.  
  242.  
  243. // https://golang.org/pkg/reflect/:
  244. func DeepEqual(x, y interface{}) bool
  245. func Swapper(slice interface{}) func(i, j int)
  246.     func TypeOf(i interface{}) Type
  247.     func ValueOf(i interface{}) Value
  248.     func (v Value) Interface() (i interface{})
  249.  
  250.  
  251.  
  252. // https://golang.org/pkg/runtime/:
  253. func KeepAlive(x interface{})
  254. func SetFinalizer(obj interface{}, finalizer interface{})
  255.  
  256.  
  257.  
  258. // https://golang.org/pkg/runtime/pprof/:
  259.     func (p *Profile) Add(value interface{}, skip int)
  260.     func (p *Profile) Remove(value interface{})
  261.  
  262.  
  263.  
  264. // https://golang.org/pkg/runtime/trace/:
  265. func Logf(ctx context.Context, category, format string, args ...interface{})
  266.  
  267.  
  268.  
  269. // https://golang.org/pkg/sort/:
  270. func Slice(slice interface{}, less func(i, j int) bool)
  271. func SliceIsSorted(slice interface{}, less func(i, j int) bool) bool
  272. func SliceStable(slice interface{}, less func(i, j int) bool)
  273.  
  274.  
  275.  
  276. // https://golang.org/pkg/sync/:
  277.     func (m *Map) Delete(key interface{})
  278.     func (m *Map) Load(key interface{}) (value interface{}, ok bool)
  279.     func (m *Map) LoadOrStore(key, value interface{}) (actual interface{}, loaded bool)
  280.     func (m *Map) Range(f func(key, value interface{}) bool)
  281.     func (m *Map) Store(key, value interface{})
  282.     func (p *Pool) Get() interface{}
  283.     func (p *Pool) Put(x interface{})
  284.  
  285.  
  286.  
  287. // https://golang.org/pkg/sync/atomic/:
  288.     func (v *Value) Load() (x interface{})
  289.     func (v *Value) Store(x interface{})
  290.  
  291.  
  292.  
  293. // https://golang.org/pkg/syscall/js/:
  294.     func TypedArrayOf(slice interface{}) TypedArray
  295.     func ValueOf(x interface{}) Value
  296.     func (v Value) Call(m string, args ...interface{}) Value
  297.     func (v Value) Invoke(args ...interface{}) Value
  298.     func (v Value) New(args ...interface{}) Value
  299.     func (v Value) Set(p string, x interface{})
  300.     func (v Value) SetIndex(i int, x interface{})
  301.  
  302.  
  303.  
  304. // https://golang.org/pkg/testing/:
  305.     func (c *B) Error(args ...interface{})
  306.     func (c *B) Errorf(format string, args ...interface{})
  307.     func (c *B) Fatal(args ...interface{})
  308.     func (c *B) Fatalf(format string, args ...interface{})
  309.     func (c *B) Log(args ...interface{})
  310.     func (c *B) Logf(format string, args ...interface{})
  311.     func (c *B) Skip(args ...interface{})
  312.     func (c *B) Skipf(format string, args ...interface{})
  313.     func (c *T) Error(args ...interface{})
  314.     func (c *T) Errorf(format string, args ...interface{})
  315.     func (c *T) Fatal(args ...interface{})
  316.     func (c *T) Fatalf(format string, args ...interface{})
  317.     func (c *T) Log(args ...interface{})
  318.     func (c *T) Logf(format string, args ...interface{})
  319.     func (c *T) Skip(args ...interface{})
  320.     func (c *T) Skipf(format string, args ...interface{})
  321.  
  322.  
  323.  
  324. // https://golang.org/pkg/testing/quick/:
  325. func Check(f interface{}, config *Config) error
  326. func CheckEqual(f, g interface{}, config *Config) error
  327.  
  328.  
  329.  
  330. // https://golang.org/pkg/text/template/:
  331. func HTMLEscaper(args ...interface{}) string
  332. func IsTrue(val interface{}) (truth, ok bool)
  333. func JSEscaper(args ...interface{}) string
  334. func URLQueryEscaper(args ...interface{}) string
  335.     func (t *Template) Execute(wr io.Writer, data interface{}) error
  336.     func (t *Template) ExecuteTemplate(wr io.Writer, name string, data interface{}) error
  337.  
  338.  
  339.  
  340. // https://golang.org/pkg/text/template/parse/:
  341. func Parse(name, text, leftDelim, rightDelim string, funcs ...map[string]interface{}) (map[string]*Tree, error)
  342.     func New(name string, funcs ...map[string]interface{}) *Tree
  343.     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