You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-library/utils/gourl/gourl_test.go

15 lines
217 B

package gourl
import (
"log"
"testing"
)
func TestLenCode(t *testing.T) {
log.Println(LenCode("https://www.dtapp.net"))
}
func TestDeCode(t *testing.T) {
log.Println(DeCode(LenCode("https://www.dtapp.net")))
}