记录
weixin_39818958
这个作者很懒,什么都没留下…
展开
-
go数组栈实现
go数组栈实现 package StackArray type StackArray interface { Clear() Push(data interface{}) Pop() interface{} IsFull() bool IsNull() bool Size() int } type Stack struct { data []interface{} size ...原创 2020-04-02 20:32:24 · 58 阅读 · 0 评论 -
go-pid2username
`` package main /* #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <fcntl.h> #include <unistd.h&...原创 2020-03-27 09:50:19 · 52 阅读 · 0 评论 -
grom随笔
grom随笔 #例子 ··· package main import ( “fmt” “github.com/jinzhu/gorm” _ “github.com/jinzhu/gorm/dialects/mysql” ) type Users struct { gorm.Model Name string } func main() { db, err := gorm.Open("mys...原创 2020-03-18 09:50:34 · 112 阅读 · 0 评论