সম্পাদনা
package main import ( "fmt" "os" ) func main() { file := "./api/document.txt" _, err := os.Stat(file) fmt.Println(err == nil) }
পূর্বরূপ