Golang Project: Archive system in 100 lines of Go

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 6

  • @MINECRAFTFREAKEN
    @MINECRAFTFREAKEN 3 місяці тому +1

    Very nice and useful program!
    However, what is the purpose of the sleep statement: time.Sleep(time.Second * 1)?

    • @TheBuilder
      @TheBuilder  3 місяці тому +1

      You can constantly scan for updates every millisecond but that is just wasting resources

  • @baltasarq
    @baltasarq 3 місяці тому

    Consider dividing all that code in reusable functions.