Skip to content

FilePath Hardcoded #4

@i7solar

Description

@i7solar

Instead of using a JSON file that can have a ton of different paths, why not just create a map that loads upon construction of type Country.

dataPath, _ := filepath.Abs("./data/countries.json")

This is bad practice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions