mirror of
https://github.com/tursom/GoCollections.git
synced 2025-02-26 20:20:31 +08:00
16 lines
206 B
Go
16 lines
206 B
Go
package lang
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestHashAddr(t *testing.T) {
|
|
str := "test"
|
|
fmt.Println(HashAddr(&str))
|
|
}
|
|
|
|
func TestHashString(t *testing.T) {
|
|
fmt.Println(HashString("testwerwefdcsd"))
|
|
}
|