package stat.go as library
use stat as library