Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 14, 2022 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/f574e0a1c8e3e7c5ce465b3a5e03d6ca to your computer and use it in GitHub Desktop.
Save parzibyte/f574e0a1c8e3e7c5ce465b3a5e03d6ca to your computer and use it in GitHub Desktop.
// Parsea y aloja en RAM o disco duro, dependiendo del límite que le indiquemos
err := r.ParseMultipartForm(MaximoTamanioFotosEnBytes)
if err != nil {
log.Printf("Error al parsear: %v", err)
return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment