passforios-gopenpgp/crypto
Aron Wussler 78e3abb0d8 go vet and lint
* Naming
    * If this is not some OpenPGP standard I follow rule that `DES` should be
      upper case as it is abreviation and `Triple` should be camel-case as it
      is normal word hence `TripleDES`
    * rename `errors2` -> `errorsPGP`
* long lines
    * https://github.com/golang/go/wiki/CodeReviewComments#line-length
    * I bit improved long lines based on my folding
    * reuse type in definition if possible i.e. `a string, b string, c string` -> `a,b,c string`
    * `if long_statetent(); err!=nil {` -> `long_statement;↵ if err!=nil {`
    * spaces around operators (e.g. `a + b` -> `a+b`)
* removing empty lines on start and end of scope
* comments
    * on all exported functions
    * start with function name
* import:
    * order in alphabet
    * separate native, golang.org/x/ and our libs
2019-05-14 14:42:38 +00:00
..
testdata refactor functions and merge in keyring 2019-05-14 08:07:49 +00:00
attachment.go go vet and lint 2019-05-14 14:42:38 +00:00
attachment_test.go go vet and lint 2019-05-14 14:42:38 +00:00
base_test.go Create key.go unit tests 2019-05-13 14:06:54 +00:00
key.go go vet and lint 2019-05-14 14:42:38 +00:00
key_test.go go vet and lint 2019-05-14 14:42:38 +00:00
keyring.go go vet and lint 2019-05-14 14:42:38 +00:00
keyring_test.go go vet and lint 2019-05-14 14:42:38 +00:00
message.go go vet and lint 2019-05-14 14:42:38 +00:00
mime.go go vet and lint 2019-05-14 14:42:38 +00:00
mime_test.go Create key.go unit tests 2019-05-13 14:06:54 +00:00
pmcrypto.go fix typo / improve documentatation 2019-05-13 12:33:01 +00:00
session.go go vet and lint 2019-05-14 14:42:38 +00:00
sign_detached.go go vet and lint 2019-05-14 14:42:38 +00:00
signature_collector.go go vet and lint 2019-05-14 14:42:38 +00:00
subtle.go go vet and lint 2019-05-14 14:42:38 +00:00
subtle_test.go Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
time.go go vet and lint 2019-05-14 14:42:38 +00:00