-
Notifications
You must be signed in to change notification settings - Fork 13
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
support development Go version #79
support development Go version #79
Conversation
Signed-off-by: sivchari <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a comment.
v2/skeleton/skeleton.go
Outdated
if strings.HasPrefix(gover, "devel ") { | ||
// The devel format is like following. | ||
// devel go1.24-xxxxxxxxxx Day Date Mon Time Arch" | ||
gover = strings.Split(strings.TrimPrefix(gover, "devel "), "-")[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you use strings.Cut
instead of strings.Split
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's reasonable, thanks. I fixed it.
Signed-off-by: sivchari <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hi, @tenntenn
|
close #78
I supported development Go version.
In additional, I filed the patches to skeletonkit, too. When it will be merged, I upgrade the dependency of skeletonkit.