Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Giteaing

Lunny Xiao lunny

💭
Giteaing
View GitHub Profile
@lunny
lunny / diskinfo.go
Created Mar 28, 2014
Disk Info for Golang
View diskinfo.go
package main
import (
"fmt"
"syscall"
)
type DiskStatus struct {
All uint64 `json:"all"`
Used uint64 `json:"used"`