1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

block code moved to new API

This commit is contained in:
Harvey Kandola 2017-08-01 11:33:16 +01:00
parent 7faf6d6cff
commit f7bcf1366c
9 changed files with 463 additions and 26 deletions

View file

@ -18,6 +18,7 @@ import (
account "github.com/documize/community/domain/account/mysql"
attachment "github.com/documize/community/domain/attachment/mysql"
audit "github.com/documize/community/domain/audit/mysql"
block "github.com/documize/community/domain/block/mysql"
doc "github.com/documize/community/domain/document/mysql"
link "github.com/documize/community/domain/link/mysql"
org "github.com/documize/community/domain/organization/mysql"
@ -43,6 +44,7 @@ func AttachStore(r *env.Runtime, s *domain.Store) {
s.Link = link.Scope{Runtime: r}
s.Page = page.Scope{Runtime: r}
s.Search = search.Scope{Runtime: r}
s.Block = block.Scope{Runtime: r}
}
// https://github.com/golang-sql/sqlexp/blob/c2488a8be21d20d31abf0d05c2735efd2d09afe4/quoter.go#L46