Files
History_Api/internal/dtos/response/commit.go
AzenKain 6918a100fc
All checks were successful
Build and Release / release (push) Successful in 1m15s
Module project, commit, submission
2026-04-26 16:31:03 +07:00

18 lines
519 B
Go

package response
import (
"encoding/json"
"time"
)
type CommitResponse struct {
ID string `json:"id"`
ProjectID string `json:"project_id"`
SnapshotJson json.RawMessage `json:"snapshot_json"`
SnapshotHash string `json:"snapshot_hash"`
UserID string `json:"user_id"`
EditSummary string `json:"edit_summary"`
CreatedAt *time.Time `json:"created_at"`
User *UserSimpleResponse `json:"user,omitempty"`
}