blob: 822f41342d511e7be864a4ed342cb8461be22e02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/* consts.go: global constants
*
* Copyright (C) 2016 Clemens Fries <github-clockrotz@xenoworld.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package common
// Project wide constants.
const (
TIME_FORMAT = "15:04"
DATE_FORMAT = "2006-01-02"
DATETIME_FORMAT = DATE_FORMAT + " " + TIME_FORMAT
DIR_TODO = "todo"
DIR_DRAFTS = "drafts"
DIR_ERRORS = "errors"
DIR_DONE = "done"
CMD_USAGE = "usage"
CMD_RUN = "run"
CONF_WORKDIR = "workdir"
CONF_DATE = "date"
CONF_DAYS = "days"
CONF_SUBJECT = "subject"
CONF_TO = "to"
CONF_FROM = "from"
CONF_REPLY_TO = "reply-to"
CONF_CC = "cc"
CONF_BCC = "bcc"
CONF_CONFIG_FILENAME = "config"
CONF_SMTP_SERVER = "server"
CONF_SMTP_PORT = "port"
CONF_SMTP_INSECURE = "insecure"
CONF_NOT_BEFORE = "not-before"
CONF_NOT_AFTER = "not-after"
)
|