goa_model_gen 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d61d213850d5fabf93e53228d2159a7812020ebc5846849b60500db0a50248b
|
4
|
+
data.tar.gz: 476d0922d7b3038ddd869298f0f14f47743c64c882e88a482fe993f0139558d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94af1f61acd0add9cfcc9d1101b2c917bd277d4bd221d6fd512d5c6e3c78a5745bc61fdb648d12610cbc3ce1d02216112cf3a349157e27253636c59c5535d340
|
7
|
+
data.tar.gz: cf65021ffb9fc94dfbc6df65a4f3ef972e8afe4db3f7470f496a3cf2b31bf14a234efae0df212c4b73cd114840e7b2bb5bf7715d6dc82a8441035964dae67c8f
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<%- user_editable -%>
|
2
|
-
<%- package
|
2
|
+
<%- package model_basename -%>
|
3
3
|
|
4
|
-
<%- source_file.types.select(&:store?).each do |model| -%>
|
5
4
|
<%-
|
6
5
|
import "context"
|
7
6
|
import "#{config.go_package}/model"
|
@@ -16,5 +15,3 @@ func (s *<%= store_name %>) Validate(ctx context.Context, m *model.<%= model.nam
|
|
16
15
|
}
|
17
16
|
return nil
|
18
17
|
}
|
19
|
-
|
20
|
-
<%- end -%>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: goa_model_gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akm
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|