Move remote deployment to a vendored source bundle built on the target host via Docker so redeploys no longer require local cross-compilation or host Go installation. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
11 lines
166 B
Go
11 lines
166 B
Go
package reflector
|
|
|
|
import "reflect"
|
|
|
|
func Walk(i interface{}, f func(i2 interface{})) {
|
|
ty := reflect.TypeOf(i)
|
|
if ty.Kind() == reflect.Ptr {
|
|
ty = ty.Elem()
|
|
}
|
|
}
|