6+ results for 'format(args lang:Go' (147 ms)
148func (ac *AsyncClient) Call(args ...interface{}) (err error) { 149 _, err = ac.buf.Write(format(args...)) 150 ac.queued++unicode.go git://github.com/qur/gopy.git | Go | 208 lines
196 197func (u *Unicode) Format(args *Tuple) (*Unicode, error) { 198 ret := C.PyUnicode_Format(c(u), c(args))format.go git://github.com/simonz05/godis.git | Go | 95 lines
75 * Returns a byte array */ 76func format(args ...interface{}) []byte { 77 buf := make([][]byte, len(args))main.go https://gitlab.com/re-pe/phpApps-Go | Go | 119 lines
37 38func CheckFormat(args []interface{}) (format string, hasFormat bool) { 39 if len(args) < 1 { return } 55func Print(args ...interface{}) { 56 if format, hasFormat := CheckFormat(args); hasFormat { 57 fmt.Printf(format, args[1:]...) 63func Log(args ...interface{}) { 64 if format, hasFormat := CheckFormat(args); hasFormat { 65 log.Printf(format, args[1:]...)string.go git://github.com/qur/gopy.git | Go | 89 lines
49 50func (s *String) Format(args *Tuple) (*String, error) { 51 ret := C.PyString_Format(c(s), c(args))connection.go git://github.com/simonz05/exp-godis.git | Go | 63 lines
45func (c *Conn) Write(args ...interface{}) error { 46 _, e := c.c.Write(format(args...)) 47