<script type="text/javascript">
window.addEventListener("load", function() {
window.zortout.setProductionMode(true);
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (r *queryResolver) FindUsers(ctx context.Context, search *string, first *int, last *int, after *string, before *string) (*model.UserConnection, error) { | |
var ( | |
nodes []*model.User | |
edges []*model.UserEdge | |
pageInfo model.PageInfo | |
) | |
query := r.DB.Model(&nodes) | |
if search != nil { | |
s := *search | |
if len(s) > 0 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "VGXhg4k", | |
"created_at": "2020-04-16 04:31:24.048802", | |
"updated_at": "2020-04-16 04:31:24.048802", | |
"deleted_at": null, | |
"team_id": "bovq3g8bcdfucfokvrq0", | |
"store_id": "YmHWpQ", | |
"product_id": "560", | |
"order_id": "666", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"product_id":"169849","store":"https://teecago.com","variants":[{"id":169854,"description":"","permalink":"https://teecago.com/product/dinosaur-world-sofa-blanket-th401/?attribute_size=Adult","sku":"APO-5D5E64574A1FE-2","price":"69.95","regular_price":"120","sale_price":"69.95","on_sale":true,"status":"publish","purchasable":true,"virtual":false,"downloadable":false,"downloads":[],"download_limit":-1,"download_expiry":-1,"tax_status":"taxable","tax_class":"","manage_stock":false,"stock_quantity":null,"stock_status":"instock","backorders":"no","backorders_allowed":false,"backordered":false,"weight":"","dimensions":{"length":"","width":"","height":""},"shipping_class":"","shipping_class_id":0,"image":{"id":169848,"name":"510c314c-581a-45a5-bde9-72ec3a322511.jpg","src":"https://storage.googleapis.com/teecago/20190822155344/510c314c-581a-45a5-bde9-72ec3a322511.jpg","alt":""},"attributes":[{"id":0,"name":"Size","option":"Adult"}],"menu_order":2,"meta_data":[]},{"id":169851,"description":"","permalink":"https://te |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "ZA0LOx5RvW", | |
"created_at": "2020-05-13 08:07:02.714856", | |
"updated_at": "2020-05-13 08:07:02.714856", | |
"deleted_at": null, | |
"type": "customer data", | |
"message": "{\"customer\":{\"id\":\"\",\"first_name\":\"Linda\",\"last_name\":\"Geist\",\"email\":\"[email protected]\",\"phone\":{\"String\":\"412-732-1767\",\"Valid\":true}}}" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tracking | |
import ( | |
"context" | |
) | |
type InsertOneResult struct { | |
InsertedID interface{} `bson:"insertedId"` | |
} |
OlderNewer