Yesql parses a SQL file, extracts the query statement, and automatically generates the corresponding Go structure, realizing the separation of query statement and code, which is convenient for writing database query logic. Install go get Create sql file using — sql file yesql.sql — name: newest_tags@topic — get newest tag information SELECT id, t.user_id user_id, t.tag tag, t.quote_num quote_num,, u.nickname, u.username, u.status, u.avatar, u.is_admin FROM @tag t JOIN …


Leave a Comment

Your email address will not be published. Required fields are marked *