Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Commit

Permalink
Start create proof with common fields
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceGA committed Apr 23, 2020
1 parent ff20bad commit 3bd09fe
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions proof/proof.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package proof

import (
"time"

"github.com/LaurenceGA/go-crev/internal/id"
)

type Kind string

const (
Trust Kind = "trust"
Review Kind = "package review"
)

type CommonData struct {
Kind Kind `yaml:"kind"`
Version int `yaml:"version"`
Date time.Time `yaml:"date"`
From id.ID `yaml:"from"`
}

0 comments on commit 3bd09fe

Please sign in to comment.