docs: fixed some typos, formatting, grammar (#11540)

# Which Problems Are Solved

- Typos
- Punctuation
- Markdown table formatting
- ...

(A bunch of issues my editor gave)

# How the Problems Are Solved


# Additional Changes


# Additional Context
This commit is contained in:
Wim Van Laer
2026-02-13 07:45:17 +01:00
committed by GitHub
parent b0609aa861
commit 9b064d8b74
127 changed files with 764 additions and 760 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
package repository
//Asset represents all information about a asset (img)
// Asset represents all information about an asset (img)
type Asset struct {
// ID is to refer to the asset
ID string
+3 -3
View File
@@ -48,13 +48,13 @@ type Event struct {
// it's used in read models to reduce the events in the correct definition
Version eventstore.Version
// AggregateID id is the unique identifier of the aggregate
// the client must generate it by it's own
// the client must generate it on its own
AggregateID string
// AggregateType describes the meaning of the aggregate for this event
// it could an object like user
AggregateType eventstore.AggregateType
// ResourceOwner is the organisation which owns this aggregate
// an aggregate can only be managed by one organisation
// ResourceOwner is the organization which owns this aggregate
// an aggregate can only be managed by one organization
// use the ID of the org
ResourceOwner sql.NullString
// InstanceID is the instance where this event belongs to
+1 -1
View File
@@ -101,7 +101,7 @@ func query(ctx context.Context, criteria querier, searchQuery *eventstore.Search
q.Desc = true
}
// if there is only one subquery we can optimize the query ordering by ordering by sequence
// if there is only one subquery we can optimize the query ordering by sequence
var shouldOrderBySequence bool
if len(q.SubQueries) == 1 {
for _, filter := range q.SubQueries[0] {