github.com/artisanhe/tools@v1.0.1-0.20210607022958-19a8fef2eb04/vin-code/volvo_test.go (about) 1 package vincode 2 3 import ( 4 "testing" 5 ) 6 7 func TestVolvo1(t *testing.T) { 8 vin := "YV1LW65F1Y2123456" 9 data, err := VINUnmarshal(vin) 10 if err != nil { 11 t.Error(vin, err) 12 } 13 t.Logf("vin:%s,vin data:%+v", vin, data) 14 }