golang 通过fsnotify监控文件,并通过文件变化重启程序

一、下载我们需要的包整理:地鼠文档:www.topgoer.cngo get github.com/fsnotify/fsnotify二、使用fsnotify监控文件package main;import ( “github.

网站地图