摘要:
//type:interface value:sturctfunc PrintStruct(t reflect.Type, v reflect.Value, pc int) { fmt.Println("") for i := 0; i < t.NumField(); i++ { ... 阅读全文
摘要:
os.uname()Returns information identifying the current operating system. The return value is an object with five attributes:sysname- operating system n... 阅读全文