-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
1build support for windows os #176
Comments
I would like to take this up. |
@diptag sure. go for it. |
In many places path are being joined using |
The |
In many places path are being joined using path1 + "/" + path2. Instead path/filepath package's filepath.Join(path1, path2) function can be used.
The logrusorgru/aurora package is not supported on Windows as it uses ANSI colors. What do you suggest?
|
|
AFAIK,
|
Yeah, it supports Windows, my bad. But it only works when we use the color library to print directly to console, not when we use it to pass a colored string to another fmt's print statement. So it will require to change every print statement which is using colored text. And what about support for underlined and bold text? |
what about support for underlined and bold text?
But it only works when we use the color library to print directly to consol
printerUtils.print(text, list<styles>)
successStyle = Style{
color = CYAN,
BOLD = true,
Underline = false
}
printerUtils.print("SUCCESS", successStyle) With such structure - you will be able to change the library easily in future |
I have made the change in the code. Now - We don't need to get colored string to concat with other string. The current implementation uses - It will be easy to switch the color lib in the future. |
How far is this implemented at this moment? |
@gdeverlant Up for grab now. |
Description
Acceptance Criteria
The text was updated successfully, but these errors were encountered: