cloudstorage
cloudstorage copied to clipboard
embed os.FileInfo in object as interface
I have noticed use of os.FileInfo inside quite a few projects for reading/iterating files. Would be nice to be able to cast cloudstorage.Object as os.FileInfo for easy alignment with existing code.
https://golang.org/pkg/os/#FileInfo
https://godoc.org/github.com/lytics/cloudstorage#Object
sounds good to me. I'll try to think of ways that wouldn't' work and comment here if I can think of any.