tarantool / go-tarantool

Tarantool 1.10+ client for Go language
https://pkg.go.dev/github.com/tarantool/go-tarantool/v2
BSD 2-Clause "Simplified" License
180 stars 57 forks source link

readme: add external types import to example #352

Closed oleg-jukovec closed 6 months ago

oleg-jukovec commented 9 months ago

A user must import packages of external msgpack types: datetime, decimal, uuid to be able to parse them from a response:

import (
     _ "github.com/tarantool/go-tarantool/v2/datetime"
     _ "github.com/tarantool/go-tarantool/v2/decimal"
     _ "github.com/tarantool/go-tarantool/v2/uuid"
)

We need to include this lines to the root example in README.md and comment it to make it clear.