jLuger.de - Blog

Sqlite3 and golang webapp
2014-05-17

I've recently developed a webapp with pure go, session handling from beego and sql support by go-sqlite3 from mattn. Right after the I've coded the first method that needed to make more than one db access I've got the following error:
more


Golang error handling
2014-05-16

The error handling in the standard packages is like this:
more


Multiple PDF to PNG
2014-01-31

A short command to convert all PDFs in a directory to PNG without a transparent background and even when the PDFs have more than one page.
more


Authenticate at AppEngine dev server
2013-11-24

Got a webapp in Googles AppEngine for a restricted user group? Enabe login required in the app.yaml and the AppEngine redirects the first access to a secured area to a login page. For productive running applications this requires to log in with a Google account but for the dev server it means only one (or two when admin privilege are required) clicks to get in the webapp. Things get complicated when it is a HTML 5 webapp with a RESTful API as a backend and an Android app should access the backend. For the production Nick Johnson has written a nice tutorial. Just don't try to replace localhost in https://yourapp.appspot.com/_ah/login?continue=http://localhost/&auth= with something meaningful. localhost is required here. But running a development version of an app against a live system isn't fun. Life will be much more easier using the dev server that is already installed for the backend.
more


RSS parsing with go
2013-05-15

How to parse RSS in Go? Define the following types:
more


Go revised: Final words
2013-04-05

This will be the end of my little Go revised series. Time for some final words.
more


Go revised: http handling
2013-04-04

During the development of Serve I have learned the http handling of Go. It is very strange for a Java developer but in my opinion it suits the http protocol far more better than Java.
more


Go revised: shared libraries
2013-04-03

As I have shown in previous posts thanks to gccgo Go programs could use shared libraries with Go code. Finished? Unfortunately not as there are still some issues and glitches to be discussed.
more


Go revised: RAM usage
2013-04-02

In the last post I've written about the file size. Of course disk usage isn't the only measurement and so I wanted to add some figures about RAM usage. The last article grow in length and it turned out to be very complicated to provide those figures so that I decided to give it an extra post.

more


Go revised: File size
2013-04-01

In this post I will talk about the file size of programs written with Go. The compiled programs were very large and it was interesting to see what gccgo brought into the issue.

more



PreviousNewer