// NewClient creates a dscache Client. This should be created for every request while
// you can have a global datastore Client and cache pool.
NewClient creates a dscache Client. This should be created for every request while
you can have a global datastore Client and cache pool.
// NewClient creates a dscache Client . This should be created for every request while // you can have a global datastore Client and cache pool .
func NewClient(ctx context.Context, dsClient *datastore.Client, cache *Cache) *Client {
	return &Client{
		Context:    ctx,
		DSClient:   dsClient,
		Cache:      cache,
		Expire:     time.Second * 0,
		localCache: make(map[string]interface{}),
	}
}
func NewClient ( ctx context . Context , dsClient * datastore . Client , cache * Cache ) * Client { return & Client { Context : ctx , DSClient : dsClient , Cache : cache , Expire : time . Second * 0 , localCache : make ( map [ string ] interface { } ) , } }
NewClient creates a dscache Client.
NewClient creates a dscache Client .