html i have tried is
<form action="upload">
<input type="file" name="pic" accept="image/*">
<input type="submit">
</form>
and now i want this browsed file to be stored in some location with file name remaining same. using beego as web framework along with simple html javascript