fix bug
split the gofn.go into 2 files,fix bug