摘要:
1、代码 package main import "fmt" type Get func(serviceName string) interface{} func get1(serviceName string) interface{} { return serviceName } var a = 阅读全文
摘要:
EdgeX初始化代码这块看起来比较迷糊,写一个测试代码验证下 1、测试代码 package main import "fmt" type Get func(serviceName string) interface{} func get1(serviceName string) interface{ 阅读全文
摘要:
1、代码 package main import ( "fmt" "reflect" ) type Test struct { a int b int } // TypeInstanceToName converts an instance of a type to a unique name. f 阅读全文