Skip to content

Commit cd67ee5

Browse files
Merge pull request #99 from logic-building/PMap<TYPE>Err
Added function PMap<TYPE>Err
2 parents ba01465 + d5d5a6a commit cd67ee5

File tree

11 files changed

+4019
-0
lines changed

11 files changed

+4019
-0
lines changed

fp/pmapErr.go

Lines changed: 661 additions & 0 deletions
Large diffs are not rendered by default.

fp/pmapErr_test.go

Lines changed: 773 additions & 0 deletions
Large diffs are not rendered by default.

fp/pmapPtrErr.go

Lines changed: 661 additions & 0 deletions
Large diffs are not rendered by default.

fp/pmapPtrErr_test.go

Lines changed: 773 additions & 0 deletions
Large diffs are not rendered by default.

gofp/gofp.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,12 @@ func generateFPCode(pkg, dataTypes, imports string) (string, error) {
267267
template += template2.PmapPtr()
268268
template = r.Replace(template)
269269

270+
template += basic.PMapPtrErr()
271+
template = r2.Replace(template)
272+
273+
template += basic.PMapErr()
274+
template = r2.Replace(template)
275+
270276
template += template2.FilterMap()
271277
template = r.Replace(template)
272278

internal/employee/fp.go

Lines changed: 188 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)