Skip to content

Releases: Code-Hex/synchro

v0.0.6

11 Sep 03:13
fd9f867
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.5...v0.0.6

v0.0.5

10 Sep 14:17
7c4197a
Compare
Choose a tag to compare

Now, We can get datetime data from string or bytes via DB!!

スクリーンショット 2023-09-10 23 14 46 スクリーンショット 2023-09-10 23 02 25
func run() error {
	db, err := sql.Open("pgx", dsn)
	if err != nil {
		return err
	}
	defer db.Close()

	row := db.QueryRow("select CURRENT_TIMESTAMP::text")

	var t synchro.NullTime[tz.AsiaTokyo]
	if err := row.Scan(&t); err != nil {
		return err
	}

	log.Println(t)
	return nil
}

What's Changed

New Contributors

Full Changelog: v0.0.4...v0.0.5

v0.0.4

03 Sep 17:09
348efe0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.3...v0.0.4

v0.0.3

03 Sep 10:21
f628027
Compare
Choose a tag to compare

What's Changed

  • remove "Code generated by tzgen" from the tz package comment by @shogo82148 in #1

New Contributors

Full Changelog: v0.0.2...v0.0.3

v0.0.2

03 Sep 09:36
8e4276f
Compare
Choose a tag to compare

Full Changelog: v0.0.1...v0.0.2

v0.0.1

03 Sep 08:31
0944c58
Compare
Choose a tag to compare