From 5494d3417f8360b46c776188c65c276f633ae71b Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Thu, 22 Oct 2020 18:41:49 +0300 Subject: [PATCH] [#172] sdk/object: Define well-known application attributes Signed-off-by: Leonard Lyubich --- pkg/object/wellknown_attributes.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pkg/object/wellknown_attributes.go diff --git a/pkg/object/wellknown_attributes.go b/pkg/object/wellknown_attributes.go new file mode 100644 index 00000000..3c9df3d8 --- /dev/null +++ b/pkg/object/wellknown_attributes.go @@ -0,0 +1,15 @@ +package object + +const ( + // AttrName is an attribute key that is commonly used to denote + // human-friendly name. + AttrName = "Name" + + // AttrFileName is an attribute key that is commonly used to denote + // file name to be associated with the object on saving. + AttrFileName = "FileName" + + // AttrTimestamp is an attribute key that is commonly used to denote + // user-defined local time of object creation in Unix Timestamp format. + AttrTimestamp = "Timestamp" +)