Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hunk ¶
func ParseAppliedHunkID ¶
type Suggestion ¶
type Suggestion struct {
ID ID `db:"id"`
CodebaseID string `db:"codebase_id"`
// The id of the workspce that contains suggestions.
WorkspaceID string `db:"workspace_id"`
// The id of the workspace that suggestion is being made for.
ForWorkspaceID string `db:"for_workspace_id"`
// The id of the snapshot that suggestion is being made for.
ForSnapshotID string `db:"for_snapshot_id"`
// Time when the suggestion was created.
CreatedAt time.Time `db:"created_at"`
// ID of the suggestion diff hunk ids that were applied.
AppliedHunks pq.StringArray `db:"applied_hunks"`
// ID of the suggestion diff hunk ids that were dismissed.
DismissedHunks pq.StringArray `db:"dismissed_hunks"`
// The id of the user that created the suggestion.
UserID string `db:"user_id"`
// DismissedAt is set if the whole suggestion was dismissed.
DismissedAt *time.Time `db:"dismissed_at"`
// NotifiedAt is set if the user has been notified about the suggestion.
NotifiedAt *time.Time `db:"notified_at"`
}
Click to show internal directories.
Click to hide internal directories.