title: How to make dynamic github badges, that is, images in README which change state?
body: <p>How do you add a "badge" in GitHub README so that it is dynamic? By "badge", I mean <img src="https://i.stack.imgur.com/LPdPH.png" alt="enter image description here"></p>
  
  <p>The question is even if one puts a URL in GitHub README which maps to a server returning an svg/png, how does it update automatically on GitHub README page?</p>
  
  <p>As an example if you visit the <a href="https://github-shields.com/github/maddyonline/copyshields/issues/1.svg" rel="noreferrer">link</a>
  , you'd see the updated status of the issue (which is closed), but my GitHub <a href="https://github.com/maddyonline/copyshields" rel="noreferrer">README page</a> still shows outdated badge, that is, shows the issue being open.</p>
  
  <p>What is an example server code (say in golang) which can render github badges dynamically?</p>