본문 바로가기

IT_World

검색하기
IT_World
프로필사진 engine

  • 분류 전체보기 (95)
    • Android (3)
      • kotlin (2)
    • Artificial intelligence, AI (28)
      • error (6)
      • Project (2)
      • Pytorch (5)
      • TensorFlow (9)
      • REVIEW (6)
    • Coding test (27)
      • programmers - single (19)
      • programmers - source (8)
    • DataBase (3)
      • MariaDB (1)
      • MYSQL (1)
      • Redis (0)
    • OS (11)
      • MAC (2)
      • Ubuntu (7)
    • Front-End (8)
      • React (8)
    • Programming language (10)
      • go lang (10)
    • Software (1)
      • Git (1)
    • Web framework, WF (3)
      • Django (2)
      • Flask (1)
Guestbook
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Recent Posts
Tags
  • 우분투
  • 텐서플로우
  • image
  • keras
  • golang
  • 코테
  • 코딩테스트
  • 이미지전처리
  • conda
  • ubuntu
  • 리눅스
  • 딥러닝
  • 파이썬
  • 프로그래머스
  • 텐서보드
  • 에러
  • VGG
  • arcface
  • python
  • 이미지
  • 파이토치
  • go
  • 명령어
  • 시각화
  • 고랭
  • error
  • CMD
  • tensorflow
  • go lang
  • Tutorial
more
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록playground (1)

IT_World

[go lang] fsnotify 또 다른 예시

전체코드 package main import ( "log" "os" // couldn't find the go-fsnotify, this is what pops up on github "github.com/fsnotify/fsnotify" ) func main() { monitorFile("./inlogs/test.log") } func monitorFile(filepath string) { // starting watcher watcher, err := fsnotify.NewWatcher() if err != nil { log.Fatal(err) } defer watcher.Close() // monitor events go func() { for { select { case event :=

Programming language/go lang 2021. 10. 3. 21:18
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바