Versions in this module Expand all Collapse all v0 v0.1.0 Aug 25, 2018 Changes in this version + func NullTimeToTimestamp(nt mysql.NullTime) (*timestamp.Timestamp, error) + func TimeToTimestamp(t time.Time) (*timestamp.Timestamp, error) + func TimestampToNullTime(ts *timestamp.Timestamp) (mysql.NullTime, error) + func TimestampToTime(ts *timestamp.Timestamp) (time.Time, error) + func TripNullTimeToTimestamp(nt mysql.NullTime, err error) (*timestamp.Timestamp, error) + func TripTimeToTimestamp(t time.Time, err error) (*timestamp.Timestamp, error) + func TripTimestampToNullTime(ts *timestamp.Timestamp, err error) (mysql.NullTime, error) + func TripTimestampToTime(ts *timestamp.Timestamp, err error) (time.Time, error)