MCPcopy
hub / github.com/go-sql-driver/mysql / String

Method String

driver_test.go:807–817  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

805type timeMode byte
806
807func (t timeMode) String() string {
808 switch t {
809 case binaryString:
810 return "binary:string"
811 case binaryTime:
812 return "binary:time.Time"
813 case textString:
814 return "text:string"
815 }
816 panic("unsupported timeMode")
817}
818
819func (t timeMode) Binary() bool {
820 switch t {

Callers 7

FormatDSNMethod · 0.80
ConvertValueMethod · 0.80
TestParseDateTimeFunction · 0.80
TestErrorsSetLoggerFunction · 0.80
TestUnixSocketAuthFailFunction · 0.80
handleParamsMethod · 0.80
BenchmarkReceiveMetadataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected