title: How to Create or Update a record with GORM?
body: <p>Gorm has a <code>FirstOrCreate</code> method and a <code>FirstOrInit</code> but how to check afterwards if the record was actually created? I like to create a record if it does not exists and if it exists I want to update some fields.</p>