From e99333e576429d9927713e9fac0f87d86a020f6a Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 8 Nov 2017 00:45:31 +0000 Subject: [PATCH] spelling: conversion --- go/sql/types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/go/sql/types.go b/go/sql/types.go index 15a99ff..9c7a660 100644 --- a/go/sql/types.go +++ b/go/sql/types.go @@ -26,7 +26,7 @@ const ( const maxMediumintUnsigned int32 = 16777215 -type TimezoneConvertion struct { +type TimezoneConversion struct { ToTimezone string } @@ -35,7 +35,7 @@ type Column struct { IsUnsigned bool Charset string Type ColumnType - timezoneConversion *TimezoneConvertion + timezoneConversion *TimezoneConversion } func (this *Column) convertArg(arg interface{}) interface{} { @@ -172,7 +172,7 @@ func (this *ColumnList) GetColumnType(columnName string) ColumnType { } func (this *ColumnList) SetConvertDatetimeToTimestamp(columnName string, toTimezone string) { - this.GetColumn(columnName).timezoneConversion = &TimezoneConvertion{ToTimezone: toTimezone} + this.GetColumn(columnName).timezoneConversion = &TimezoneConversion{ToTimezone: toTimezone} } func (this *ColumnList) HasTimezoneConversion(columnName string) bool {