title: windows-how to get screen resolution in golang
body: <p>Great guy. </p>
  
  <p>I have a requirement to get the windows system screen resolution,but I can't get any useful thing about this with google.</p>
  
  <p>So I look for help in stackoverflow.</p>
  
  <p>Anyone know how to do it?</p>
  
  <p>Thanks advance.</p>
  
  <p>updates:
  then I try this command<code>wmic desktopmonitor get screenheight screenwidth</code> and get the answer like this:<br>
  this is the cmd:
  <a href="https://i.stack.imgur.com/SWzZf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SWzZf.png" alt="enter image description here"></a></p>
  
  <p>this is go-program:
  <a href="https://i.stack.imgur.com/NdF3h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NdF3h.png" alt="enter image description here"></a></p>