Documentation ¶ Overview ¶ Tail a file, print its contents, close it and reopen it. In this example you can add lines to the syslog log by using the logger command. Exit with Ctrl+C. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.