mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-12 18:11:34 +08:00
19 lines
242 B
Go
19 lines
242 B
Go
package system_dto
|
|
|
|
import (
|
|
"log"
|
|
"testing"
|
|
)
|
|
|
|
func TestMap(t *testing.T) {
|
|
|
|
input := &InputSetting{
|
|
InvokeAddress: "http://127.0.0.1:8080",
|
|
}
|
|
err := input.Validate()
|
|
if err != nil {
|
|
t.Error(err)
|
|
}
|
|
log.Println(ToKeyMap(input))
|
|
}
|