学习
豫南、二少
一点一滴从这里开始
展开
-
Golang strings
import ( "fmt" "strings" "unicode" ) func main() { //Compare fmt.Println("Compare func") fmt.Println(Compare("a", "b")) fmt.Println(Compare("a", "a")) fmt.Println(Compare("b", "a")) //Cont...原创 2020-01-19 17:26:07 · 140 阅读 · 0 评论 -
单链表(golang)
package LinkedList //define node type Node struct { data int next *Node } //define linklist type LinkedList struct { head *Node } //Init LinkList func (list *LinkedList) InitList(params []int) {...原创 2019-11-19 17:43:35 · 132 阅读 · 0 评论 -
如何通过telnet远程连接aliyun服务器上的memcache
前提:memcache安装,并后台开启服务 1.[root@localhost ~]# /usr/local/memcached/bin/memcached -d -m 512 -u root -l 需要监听的ip -p 12000 -c 512 -P /usr/local/memcached/memcached.pid 启动参数详解 -d:以守护进程方式启动。如果该参数没有指原创 2018-01-15 11:20:29 · 1648 阅读 · 0 评论