conform icon indicating copy to clipboard operation
conform copied to clipboard

panic when input struct have a member type of []int

Open lynnzhang89 opened this issue 2 years ago • 1 comments

hi, i got a problem when pass a struct which have an slice of int member, here is the test code below: `package main

import ( "github.com/leebenson/conform" )

type UserForm struct { Age []int }

func main() { input := UserForm{ Age: []int{1}, } conform.Strings(&input) // panic } ` and below is panic info: image

lynnzhang89 avatar Nov 25 '22 08:11 lynnzhang89

any update on this, I'm getting the same issue

6thpath avatar Jan 10 '23 00:01 6thpath