You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
229 B
Go
14 lines
229 B
Go
5 years ago
|
package starainrt
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func Test_FileSumAll(t *testing.T) {
|
||
|
cry := new(StarCrypto)
|
||
|
fmt.Println(cry.FileSumAll("D:\\Download\\macos.iso", func(pect float64) {
|
||
|
fmt.Printf("已处理%f\r", pect)
|
||
|
}))
|
||
|
}
|