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

Feature/usability #2

Merged
merged 13 commits into from
Sep 3, 2016
Merged

Feature/usability #2

merged 13 commits into from
Sep 3, 2016

Conversation

StabbyCutyou
Copy link
Owner

No description provided.


func GetConverter(name string) Converter {
c := converters[name] // lol go
return c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

y u 2 line

} else {
log.Printf("Warning: No known delimeter for %s, defaulting to Comma", cfg.delimeter)
}
if comma, ok := delimeters[cfg.delimeter]; ok {
Copy link

@ghost ghost Aug 22, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comma is a misnomer, should be called separator or delimiter

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling error :)

Makem all the time

On Aug 21, 2016 11:24 PM, "hydroflame" notifications@github.com wrote:

In sqltocsv.go
#2 (comment):

@@ -45,13 +45,10 @@ func main() {
}

csvWriter := csv.NewWriter(os.Stdout)
  • // If I ever need to support more than tabs/commas, this needs improving
  • if cfg.delimeter != "comma" {
  •   if comma, ok := delimeters[cfg.delimeter]; ok {
    
  •       csvWriter.Comma = comma
    
  •   } else {
    
  •       log.Printf("Warning: No known delimeter for %s, defaulting to Comma", cfg.delimeter)
    
  •   }
    
  • if comma, ok := delimeters[cfg.delimeter]; ok {

this is a misnomer, should be called like "separator" or "delimiter"


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/StabbyCutyou/sqltocsv/pull/2/files/2bbc08f188d504576a64a14140fa56102449d13b..003c2bb0891131ca1675205e7eb2d502f4923679#r75614014,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABdTKrl3DbmEekt4JHyxY_TJWLWUNkP_ks5qiRZQgaJpZM4JljSO
.

@StabbyCutyou StabbyCutyou merged commit 643bdd0 into master Sep 3, 2016
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.

1 participant