Go language how detect file changing?

go

Solution

There is currently an experimental package here. It should be merged into core as `os/fsnotify` in go1.3

Problem

I need to know how to detect when a file changes using Go. I know that Unix provides a function named `fcntl()` which notifies when a specific file is changed but I have not found this one in Go. Please help me.

Original source

Related problems