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.
|
|
|
package starainrt
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func Test_FileSumAll(t *testing.T) {
|
|
|
|
cry := new(StarCrypto)
|
|
|
|
fmt.Println(cry.FileSumAll("D:\\Download\\macos.iso",[]string{"md5"}, func(pect float64) {
|
|
|
|
fmt.Printf("已处理%f\r", pect)
|
|
|
|
}))
|
|
|
|
}
|