I have been working for a couple of months with golang and decided to create a post about my experience. My background: I am experienced with Java, and I have the habit of crating ruby and scala scripts to help me automatize tasks. My considerations: Golang is not object oriented. Golang has pointers Golang has functional capabilities Golang does not directly provide means for inheritance (not OO), you should use composition Golang is maintained by google =) Golang is FAST Golang error handling is (or can be) really verbose Golang is compiled Golang is strong typed It took me a...
Posted on Jul 17, 2016

I am using appengine + gradle + junit, and it took me a while to find the right libraries and documentation when testing the persitence, so I am writing this down in case this helps someone. On gradle, the required libs are: dependencies { //... testCompile 'junit:junit:4.12' testCompile 'com.google.appengine:appengine-testing:1.9.21' testCompile 'com.google.appengine:appengine-api-stubs:1.9.21' } A sample test: public class DAOTest { private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalDatastoreServiceTestConfig()); @Before public void setUp() { helper.setUp(); } @After public void tearDown(){ helper.tearDown(); } @Test public void testPersistence(){ Key prayerKey = KeyFactory.createKey("MyEntity", "key"); Entity entity = new Entity("MyEntity", prayerKey); entity.setProperty("content", prayer.getContent()); DatastoreService datastore =...
Posted on Jul 5, 2015

Just installed bootstrap, in order to have a responsive layout. This is a test post about for the layout. Just had to change the default layout, and header. Very simple!
Posted on Jul 2, 2015

This is my first post on github.io using jekyll! So far its a great tool for developers to create blog, and mantain control in the layout I will try to customize the page layout later, and write a little bit about my considerations.
Posted on Jul 1, 2015