How do you golang rewrite the missing file?



  • We need to make an update system.
    New files are coming up, and then we need to update the original file.
    He can't remove himself, because he's immersed in memory, decided to make a bat file or another application that's going to come down, give it a new version, and then starts, but it turns out that the file is not being carried out separately, but that it's downloaded into the programme itself-- and that's not what happens.
    How are the problems of updating the missing file?



  • I think that this problem is dealt with in the same way as in other languages.

    In most cases, together with the core programme, there is a second, most often referred to as updater, it starts and updates the main if a new version is available.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2