Web Development

Golang Multipart File Upload Using Form File

In this blog, we will learn about Golang Multipart File Upload using Form File. Uploading Files on the server is useful in many scenarios like uploading your resume on a job portal, uploading your picture on any website or social media. HTML Template for Uploading File In this example, we are using bootstrap starter code …

Golang Multipart File Upload Using Form File Read More »

Golang Gorilla Schema HTML Forms

In the previous blog, we saw how to read form data using the net/http package. This time we will use Golang gorilla schema to read form data. Golang Gorilla Schema func readForm(r *http.Request) *User { r.ParseForm() user := new(User) decoder := schema.NewDecoder() decodeErr := decoder.Decode(user, r.PostForm) if decodeErr != nil { log.Println(“Error mapping parsed form …

Golang Gorilla Schema HTML Forms Read More »

Scroll to Top