Skip to content

asccclass/filewatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

監控特定目錄內檔案是否有異動程式

安裝

go mod download  // 取得函式

使用函數

https://github.com/howeyc/fsnotify

升級函數

檢查: go list -m -u all
升級: go get <套件名稱>@latest (針對您需要的套件)
清理: go mod tidy
測試: go test ./... (確保升級沒把程式弄壞)

About

Check specific dir's file has changed.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •