Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace go.rice with native go embedding #331

Merged
merged 2 commits into from
Mar 16, 2023
Merged

Replace go.rice with native go embedding #331

merged 2 commits into from
Mar 16, 2023

Conversation

bytedream
Copy link
Contributor

@bytedream bytedream commented Feb 21, 2023

This PR replaces the go.rice tool with native go embedding which is available since go1.16 and eliminates the requirement of the go.rice cli tool to generate code. It also eliminates #274 which happened multiple times while testing with go.rice.
The logic is nearly the same as with go.rice besides the type changes.

This also bumps the minimal required go version from 1.14 to 1.16.

@ngoduykhanh
Copy link
Owner

@bytedream sorry for my late review. Great to know that we don't need Go rice anymore for this purpose. I merged some older PRs which created the merge conflicts. Can you update your branch?

# Conflicts:
#	Dockerfile
#	handler/routes.go
#	main.go
#	router/router.go
#	util/util.go
@bytedream
Copy link
Contributor Author

@ngoduykhanh I've merged the master branch/resolved the conflicts 👍

@ngoduykhanh ngoduykhanh merged commit 4fc52b6 into ngoduykhanh:master Mar 16, 2023
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