mirror of
https://github.com/ent/ent.git
synced 2026-05-04 08:30:57 +03:00
dialect/sql: replace nulltime with official implementation on 1.13 and higher
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/169 Reviewed By: alexsn Differential Revision: D18561431 fbshipit-source-id: d21335c073e0abed99d97c85c03cfa17c8326fef
This commit is contained in:
committed by
Facebook Github Bot
parent
d1089d30a5
commit
d31f0828f0
12
dialect/sql/sql_113.go
Normal file
12
dialect/sql/sql_113.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright 2019-present Facebook Inc. All rights reserved.
|
||||
// This source code is licensed under the Apache 2.0 license found
|
||||
// in the LICENSE file in the root directory of this source tree.
|
||||
|
||||
// +build go1.13
|
||||
|
||||
package sql
|
||||
|
||||
import "database/sql"
|
||||
|
||||
// NullTime represents a time.Time that may be null.
|
||||
type NullTime = sql.NullTime
|
||||
Reference in New Issue
Block a user