Skip to content

Instantly share code, notes, and snippets.

💭
Giteaing

Lunny Xiao lunny

💭
Giteaing
Block or report user

Report or block lunny

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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"`
You can’t perform that action at this time.