Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Can I cancel the use of vendor folder? Or allow the caller to customize the storage path #395

@peakedshout

Description

@peakedshout

Obviously, the vendor folder has special meaning in Go. When debugging locally, the generated vendor will make the project reference the code library of this folder by default. I don't want to do this. Maybe you will say modify the DataDirectoryPath, but for me, fetching resources should be "./"
github.com/asticode/go-astilectron/paths.go:56 Maybe I can force changes to use it, but I don't think it's a good coding practice, once modified, the project will also carry the vendor, and if you forget to change it again when updating dependencies in the future, it will be bad
I like this project, cheers

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