PHP » GoLang |
login |
register |
about
|
fopenfopen[code=golang]
func Fopen(filePath string)( *os.File, error){
file,err := os.open(filePath)
if err != nil{
return nil,err
}
return file,nil
}
[/code]
|