Go1.8从文件结尾读取文件
package mainimport ( "bytes" "io" "os" "sync")func main() { File, err := os.OpenFile("main.go", os.O_RDONLY, 0644) if err != nil { println(err.Error()) return