Skip to content
This repository was archived by the owner on Jan 10, 2020. It is now read-only.
This repository was archived by the owner on Jan 10, 2020. It is now read-only.

A better way of constructing file names. #81

Description

@tingyuz

in the line of init.go -

cf.caKeyFile = filepath.Join(cf.pkiCaDir, cf.caName+skFileExt)

directly combining the strings like this is not very maintainable because it requires that the . between the basename and the extension be in either the file extension variable or the basename, neither of which really makes sense. I think it's better to not have the . in either of these and instead just do cf.caName + "." + skFileExt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions