On Sun, Mar 6, 2022 at 12:33 PM jlfo...@berkeley.edu <jlforr...@berkeley.edu> wrote:
> Thanks for the quick reply. Let's say I wanted to pass "fileinfo" from my > program to another function. What would I say in function's argument list > for fileinfo's type? From your reply I'm guessing I would give "fileinfo > *io/fs.fileinfo" but I'm not sure. > If you're defining the function you would use "os.FileInfo" as the argument type (or a pointer to that type if that's more appropriate). -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD9gngoQr8J6_z%3DYrC%2BsV8aW3T8O2EzBuKR%3DH6RzkTvEQw%40mail.gmail.com.