PHP » GoLang |
login |
register |
about
|
is_readableis_readable[code] func IsReadable(filename string) bool { _, err := syscall.Open(filename, syscall.O_RDONLY, 0) if err != nil { return false } return true } [/code] |