notaryproject / notary

Notary is a project that allows anyone to have trust over arbitrary collections of data
Apache License 2.0
3.23k stars 510 forks source link

Keep increasing the quality of the whole project #1070

Open HuKeping opened 7 years ago

HuKeping commented 7 years ago

The following is from @endophage

We've been nominally (and we should document it somewhere) stealing Python's PEP8 import formatting, which requires imports be broken into 3 blocks of:

import (
    // Std library imports
    "os" // etc...

    // 3rd party dependencies
    "github.com/sirupsen/logrus" // etc...

    // dependencies within the same project
    "github.com/docker/notary" // etc...
)
endophage commented 7 years ago

Checked off the 3rd bullet because golint runs as part of our CI and ensures we conform to that requirement. It's not failing at the moment which means all exported functions, types, and variables have comments conforming to Go coding standards.