Here is a very basic example. No audio, just follow the code.
https://www.youtube.com/watch?v=b81phqjXzEA
Josh
On Sun, Oct 22, 2017 at 4:47 AM, Shawn Milochik
wrote:
> Assumptions:
>
>- You're using the html/template package: https://golang.org/
>pkg/html/template/
>- You name your
Assumptions:
- You're using the html/template package:
https://golang.org/pkg/html/template/
- You name your database connection variable "db"
- You name the result variable from your query "rows"
- You're using PostgreSQL
- You check all your errors ^_^
Steps
- Create a DB
Vickey,
you can work with timestamps, to me is the easiest way to work with
time data in any language and framework, because always an Int value
:D
Good Luck!
2017-10-21 21:35 GMT-04:00 :
> HiShawn,
>
> I just want to know say i have a test table in postgres. With 2 column one
> date and anoth
HiShawn,
I just want to know say i have a test table in postgres. With 2 column one date
and another string.i want to create an HTML table which can be updated and
deleted by a click.
Like
Time| string
X:xx| xyz update delete
X:xx| xyz update delete
X:xx| xyz update delete
X:xx| x
http://jmoiron.github.io/sqlx/
This is a really great reference. It is for another library, but the
beginning of the tutorial is the most useful documentation I've seen for
the standard library.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To
I work a lot with databases and i have recently started learning golang. Is
three hardest language when comes to database. And there are no good places to
find information.
I am not able to work with databases even after searching and reading
documentation and blog.
I create typos and errors.