Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

mixcode
Copy link

@mixcode mixcode commented May 12, 2021

Go 1.16 introduced a language built-in file embedding feature, 'go embed'.
This patch replaces the use of go-bindata with go-embed regarding the systray icon.
By this change, the 'go generate' stage could be removed from the build process; hence the package would be directly installable with 'go install' command.

@mixcode
Copy link
Author

mixcode commented May 12, 2021

Hi, I am the submitter of this pull request.

I can see the azure-pipeline CI check failures.
I presume that azure-pipelines.yml have to be updated to solve the CI check error, but I think that is out of this patch's intended scope, so I decided not to touch the settings.

@benpye
Copy link
Owner

benpye commented May 12, 2021

Hey - thanks for the PR!

I'll try and figure out the build failure, the image should have Go 1.16 but it's not the default. Once that's fixed this PR looks good to merge.

@mixcode mixcode changed the title Replaced go-bindata with go1.6's embed feature Replaced go-bindata with go1.16's embed feature May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.