title: How to query a param in the middle of an URL with Retrofit
body: <p>I'm reading post and docs about Retrofit 1 &amp; 2. I have the next source code to get a repo from an user.</p>
  
  <pre><code>@GET("users/{user}/repos")
  Call&lt;List&lt;GithubRepo&gt;&gt; getRepos(@Path("user") String user);
  </code></pre>
  
  <p>In retrofit2 I see that now we need to change @Path with @Query, but I don't know if the using method is the same. It's like the next one or I need to change something more?</p>
  
  <pre><code>@GET("users/{user}/repos")
  Call&lt;List&lt;GithubRepo&gt;&gt; getRepos(@Query("user") String user);
  </code></pre>
  
  <p>Thank you</p>