Golang Form - Gathering Data from HTML Forms

Golang Form - Gathering Data from HTML Forms

Learn To Code

6 лет назад

30,514 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@kingtoby3
@kingtoby3 - 11.01.2023 12:33

Great video! I was wondering if you have any materials that can help us prevent duplicate form submissions when uploading events to a database?

Ответить
@captainobvious7898
@captainobvious7898 - 20.10.2022 06:26

Todd is a great teacher - I have purchased his udemy classes and they are well worth it. Highly recommented! But suggestion on something I've been trying to figure out - wouldn't it be more efficient to not construct a struct literal to pass to the processor template, and just pass r.Form as the data in ExecuteTemplate, and use template constructs to extract the form data? Likewise, why have a separate form as the result - how do you go back to the same form but with populated values, and just report yes, the form was submitted with data shown. In a robust site, if one or more of the form data is deemed incorrect or invalid at the server, you would want to repopulate the original form with the data that was entered (so user does not lose all entries) and just inform the user which value(s) need to be corrected.

Ответить
@ShadowD2C
@ShadowD2C - 06.06.2022 23:32

this is outdated right ? because now you write ... type d struct instead of d := struct

Ответить
@drvipinclasses
@drvipinclasses - 02.01.2022 19:41

Nice video Sir, SUBSCRIBE IT

Ответить
@ririkochan8109
@ririkochan8109 - 21.11.2021 15:37

You're amazing!

Ответить
@MrCagibson
@MrCagibson - 15.09.2021 12:52

This guy seems very smart - and he makes the content easy to follow. Thanks!

Ответить
@keatonhatch6213
@keatonhatch6213 - 02.09.2021 06:23

RIP those keys

Ответить
@dnxsol
@dnxsol - 31.07.2021 21:18

why use go when i can use PHP!! so much better than this building from the ground up

Ответить
@cristianlopez6095
@cristianlopez6095 - 17.05.2021 20:59

I had zero idea about golang and you making it seem so simple and obvious pushed me to think it's simple and obvious

Ответить
@abhim6380
@abhim6380 - 06.05.2021 14:03

Who uses form with action.. What year is it

Ответить
@jamesdean3787
@jamesdean3787 - 03.05.2021 23:56

THANK YOU! This is exactly what I needed.

Ответить
@saulruiz4514
@saulruiz4514 - 21.04.2021 23:43

Thanks for the help, very nice video.

Ответить
@melissanewman5497
@melissanewman5497 - 09.02.2020 12:44

This video is awesome. A simple, clear, direct example of using an HTML form in Golang. Excellent first video tutorial for anybody wanting to learn how to get started with forms being paired with golang. I held off watching this video, because it was "only 12 minutes", but it the right 12 minutes.

Ответить
@imdhruv99
@imdhruv99 - 10.12.2019 12:38

you are not teaching us.. you are just writing code in front of camare,

Ответить
@look007456
@look007456 - 07.12.2019 06:01

Thank you!too great.

Ответить
@zakykatalan-ezra9570
@zakykatalan-ezra9570 - 18.11.2019 19:03

When you want to add assets like js and css and images files from the local directory, things are getting a little bit messy.

Ответить
@NowHereUs
@NowHereUs - 22.08.2019 18:41

Every minute of this video is full of gem.

Ответить
@vinsmokearifka
@vinsmokearifka - 07.12.2018 07:36

short but full of what i need, thanks

Ответить
@leeritenour
@leeritenour - 08.10.2018 11:55

Fantastic! Short video but says so much! Thank you!

Ответить
@khushbupatel3637
@khushbupatel3637 - 05.06.2018 17:46

Informative video.Was wondering if you can suggest how can I prevent my go package code from being downloaded via go get command but if used with import in any file it should work.

Ответить
@dr.sprite5320
@dr.sprite5320 - 05.11.2017 17:37

You don't sound that excited when you say "WOW" "Nice right?".

Anyways nice video :-) I've learned something new.

Ответить
@heyyrudyy404
@heyyrudyy404 - 01.11.2017 12:06

Exquisite

Ответить
@NoahNobody
@NoahNobody - 29.10.2017 15:21

Nice

Ответить