Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YadaYuki/omochi
/ types & classes
Types & classes
107 in github.com/YadaYuki/omochi
⨍
Functions
762
◇
Types & classes
107
↓ 58 callers
FuncType
Document
Document is the predicate function for document builders.
pkg/ent/predicate/predicate.go:10
↓ 53 callers
FuncType
Term
Term is the predicate function for term builders.
pkg/ent/predicate/predicate.go:13
↓ 1 callers
FuncType
CommitFunc
The CommitFunc type is an adapter to allow the use of ordinary function as a Committer. If f is a function with the appropriate signature, CommitFunc(
pkg/ent/tx.go:43
↓ 1 callers
FuncType
RollbackFunc
The RollbackFunc type is an adapter to allow the use of ordinary function as a Rollbacker. If f is a function with the appropriate signature, Rollback
pkg/ent/tx.go:98
↓ 1 callers
TypeAlias
SearchModeType
pkg/domain/entities/query.go:3
FuncType
AggregateFunc
AggregateFunc applies an aggregation step on the group-by traversal/selector.
pkg/ent/ent.go:77
Struct
Chain
Chain acts as a list of hooks and is effectively immutable. Once created, it will always hold the same set of hooks in the same order.
pkg/ent/hook/hook.go:185
Struct
Client
Client is the client that holds all ent builders.
pkg/ent/client.go:21
TypeAlias
Code
common Error Code. ref: https://github.com/gilcrest/diy-go-api/blob/9dea2423ed084c14d251f4db014967eaa57f74be/domain/errs/errs.go
pkg/errors/code/code.go:5
FuncType
CommitHook
CommitHook defines the "commit middleware". A function that gets a Committer and returns a Committer. For example: hook := func(next ent.Committer)
pkg/ent/tx.go:59
Interface
Committer
Committer is the interface that wraps the Commit method.
pkg/ent/tx.go:36
FuncType
Condition
Condition is a hook condition function.
pkg/ent/hook/hook.go:39
Struct
ConstraintError
ConstraintError returns when trying to create/update one or more entities and one or more of their constraints failed. For example, violation of edge
pkg/ent/ent.go:239
Struct
Document
Document is the model entity for the Document schema.
pkg/ent/document.go:15
Struct
Document
Document holds the schema definition for the Document entity.
pkg/ent/schema/document.go:9
Struct
Document
pkg/domain/entities/document.go:7
Struct
DocumentClient
DocumentClient is a client for the Document schema.
pkg/ent/client.go:134
Struct
DocumentController
pkg/interface/api/document/document.go:15
Struct
DocumentCreate
DocumentCreate is the builder for creating a Document entity.
pkg/ent/document_create.go:18
Struct
DocumentCreate
pkg/domain/entities/document.go:15
Struct
DocumentCreateBulk
DocumentCreateBulk is the builder for creating many Document entities in bulk.
pkg/ent/document_create.go:459
Struct
DocumentDelete
DocumentDelete is the builder for deleting a Document entity.
pkg/ent/document_delete.go:17
Struct
DocumentDeleteOne
DocumentDeleteOne is the builder for deleting a single Document entity.
pkg/ent/document_delete.go:91
Struct
DocumentEntRepository
pkg/infrastructure/persistence/entdb/document_ent_repository.go:17
FuncType
DocumentFunc
The DocumentFunc type is an adapter to allow the use of ordinary function as Document mutator.
pkg/ent/hook/hook.go:14
Struct
DocumentGroupBy
DocumentGroupBy is the group-by builder for Document entities.
pkg/ent/document_query.go:436
Struct
DocumentMutation
DocumentMutation represents an operation that mutates the Document nodes in the graph.
pkg/ent/mutation.go:34
Struct
DocumentQuery
DocumentQuery is the builder for querying Document entities.
pkg/ent/document_query.go:19
Interface
DocumentRanker
pkg/domain/service/document_ranker.go:10
Interface
DocumentRepository
pkg/domain/repository/document_repository.go:10
Struct
DocumentSelect
DocumentSelect is the builder for selecting fields of Document entities.
pkg/ent/document_query.go:703
Struct
DocumentUpdate
DocumentUpdate is the builder for updating Document entities.
pkg/ent/document_update.go:19
Struct
DocumentUpdateOne
DocumentUpdateOne is the builder for updating a single Document entity.
pkg/ent/document_update.go:168
Struct
DocumentUpsert
DocumentUpsert is the "OnConflict" setter.
pkg/ent/document_create.go:269
Struct
DocumentUpsertBulk
DocumentUpsertBulk is the builder for "upsert"-ing a bulk of Document nodes.
pkg/ent/document_create.go:583
Struct
DocumentUpsertOne
DocumentUpsertOne is the builder for "upsert"-ing one Document node.
pkg/ent/document_create.go:264
TypeAlias
Documents
Documents is a parsable slice of Document.
pkg/ent/document.go:126
Struct
EnProseTokenizer
pkg/infrastructure/tokenizer/eng/en_prose_tokenizer.go:15
Struct
EntIndexer
pkg/infrastructure/indexer/entindexer/ent_indexer.go:15
Struct
EntTransactionWrapper
pkg/infrastructure/transaction/wrapper/transaction_wrapper.go:12
Struct
Error
pkg/errors/error.go:9
Interface
Indexer
pkg/domain/service/indexer.go:10
Struct
Indexer
pkg/infrastructure/indexer/indexer.go:13
Struct
InvertIndex
pkg/domain/entities/invert_index.go:3
Struct
InvertIndexCompressed
pkg/domain/entities/invert_index.go:7
Interface
InvertIndexCompresser
pkg/domain/service/invert_index_compresser.go:10
Struct
JaKagomeTokenizer
pkg/infrastructure/tokenizer/ja/ja_kagome_tokenizer.go:13
Struct
MysqlConfigType
pkg/config/mysql.go:8
Struct
NotFoundError
NotFoundError returns when trying to fetch a specific entity and it was not found in the database.
pkg/ent/ent.go:172
Struct
NotLoadedError
NotLoadedError returns when trying to get a node that was not loaded by the query.
pkg/ent/ent.go:218
Struct
NotSingularError
NotSingularError returns when trying to fetch a singular entity and more then one was found in the database.
pkg/ent/ent.go:199
FuncType
Option
Option function to configure the client.
pkg/ent/config.go:11
FuncType
Option
Option configures client creation.
pkg/ent/enttest/enttest.go:24
FuncType
OrderFunc
OrderFunc applies an ordering on the sql selector.
pkg/ent/ent.go:28
Struct
Posting
pkg/domain/entities/posting.go:3
Struct
Query
pkg/domain/entities/query.go:10
Struct
RequestSearchDocument
pkg/interface/api/document/document.go:23
Struct
ReseponseSearchDocument
pkg/interface/api/document/document.go:28
FuncType
RollbackHook
RollbackHook defines the "rollback middleware". A function that gets a Rollbacker and returns a Rollbacker. For example: hook := func(next ent.Rollb
pkg/ent/tx.go:114
Interface
Rollbacker
Rollbacker is the interface that wraps the Rollback method.
pkg/ent/tx.go:91
Struct
Schema
Schema is the API for creating, migrating and dropping a schema.
pkg/ent/migrate/migrate.go:39
Interface
SearchUseCase
pkg/usecase/search/search.go:12
Interface
Searcher
pkg/domain/service/searcher.go:10
Struct
Searcher
pkg/infrastructure/searcher/searcher.go:15
Struct
Term
Term is the model entity for the Term schema.
pkg/ent/term.go:16
Struct
Term
Term holds the schema definition for the Term entity.
pkg/ent/schema/term.go:11
Struct
Term
pkg/domain/entities/term.go:9
Struct
TermClient
TermClient is a client for the Term schema.
pkg/ent/client.go:224
Struct
TermCompressed
pkg/domain/entities/term.go:17
Struct
TermCompressedCreate
pkg/domain/entities/term.go:30
Struct
TermController
pkg/interface/api/term/term.go:14
Struct
TermCreate
TermCreate is the builder for creating a Term entity.
pkg/ent/term_create.go:20
Struct
TermCreate
pkg/domain/entities/term.go:25
Struct
TermCreateBulk
TermCreateBulk is the builder for creating many Term entities in bulk.
pkg/ent/term_create.go:504
Struct
TermDelete
TermDelete is the builder for deleting a Term entity.
pkg/ent/term_delete.go:17
Struct
TermDeleteOne
TermDeleteOne is the builder for deleting a single Term entity.
pkg/ent/term_delete.go:91
Struct
TermEntRepository
pkg/infrastructure/persistence/entdb/term_ent_repository.go:16
FuncType
TermFunc
The TermFunc type is an adapter to allow the use of ordinary function as Term mutator.
pkg/ent/hook/hook.go:27
Struct
TermGroupBy
TermGroupBy is the group-by builder for Term entities.
pkg/ent/term_query.go:437
Struct
TermMutation
TermMutation represents an operation that mutates the Term nodes in the graph.
pkg/ent/mutation.go:507
Struct
TermQuery
TermQuery is the builder for querying Term entities.
pkg/ent/term_query.go:20
Interface
TermRepository
pkg/domain/repository/term_repository.go:11
Struct
TermSelect
TermSelect is the builder for selecting fields of Term entities.
pkg/ent/term_query.go:704
Struct
TermUpdate
TermUpdate is the builder for updating Term entities.
pkg/ent/term_update.go:19
Struct
TermUpdateOne
TermUpdateOne is the builder for updating a single Term entity.
pkg/ent/term_update.go:184
Struct
TermUpsert
TermUpsert is the "OnConflict" setter.
pkg/ent/term_create.go:303
Struct
TermUpsertBulk
TermUpsertBulk is the builder for "upsert"-ing a bulk of Term nodes.
pkg/ent/term_create.go:624
Struct
TermUpsertOne
TermUpsertOne is the builder for "upsert"-ing one Term node.
pkg/ent/term_create.go:298
Interface
TermUseCase
pkg/usecase/term/term.go:12
TypeAlias
Terms
Terms is a parsable slice of Term.
pkg/ent/term.go:129
Interface
TestingT
TestingT is the interface that is shared between testing.T and testing.B and used by enttest.
pkg/ent/enttest/enttest.go:18
Struct
TfIdfDocumentRanker
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker.go:14
Struct
TimeStampMixin
pkg/ent/schema/timestamp_mixin.go:11
Interface
Tokenizer
pkg/domain/service/tokenizer.go:10
Struct
Tx
Tx is a transactional client that is created by calling Client.Tx().
pkg/ent/tx.go:13
Struct
ValidationError
ValidationError returns when validating a field or edge fails.
pkg/ent/ent.go:147
Struct
ZlibInvertIndexCompresser
pkg/infrastructure/compresser/zlib_invert_index_compresser.go:17
Struct
clientCtxKey
pkg/ent/context.go:9
Struct
config
Config is the configuration for the client and its builder.
pkg/ent/config.go:14
FuncType
documentOption
documentOption allows management of the mutation configuration using functional options.
pkg/ent/mutation.go:52
next →
1–100 of 107, ranked by callers