feat: store import timestamp on entities
1 file changed, 2 insertions(+), 0 deletions(-)
changed files
M internal/importer/options.go → internal/importer/options.go
@@ -4,6 +4,7 @@ import ( "context" "io" "reflect" + "time" "alin.ovh/x/log"@@ -180,6 +181,7 @@ Example: i.convertDocsValue(i.optJSON.Example), RelatedPackages: nix.Markdown(i.optJSON.RelatedPackages), Loc: i.optJSON.Loc, Type: i.optJSON.Type, + ImportedAt: time.Now(), } } }()