Sha256: fe6891ef7512719fc419ff3acd04641e23907acabc990d4fadd2b0c57d433072
Contents?: true
Size: 372 Bytes
Versions: 4
Compression:
Stored size: 372 Bytes
Contents
<%- import 'context' import model.package import 'datastore' import 'log' import 'goon' -%> func (s *<%= type.name %>) Put(ctx context.Context, m *<%= model.qualified_name %>) (*datastore.Key, error) { g := goon.FromContext(ctx) key, err := g.Put(m) if err != nil { log.Errorf(ctx, "Failed to Put %v because of %v\n", m, err) return nil, err } return key, nil }
Version data entries
4 entries across 4 versions & 1 rubygems