Aider — Pair Programming จริงจังกับ AI ใน Terminal
GET /users/search?q=jo should return users whose email starts with "jo" Use existing UserRepo, add the query method there Enter fullscreen mode Exit fullscreen mode Aider ตอบ: I'll add: 1. A `SearchByEmailPrefix` method to `UserRepo` in `internal/repo/user.go` 2. A search handler in `internal/handler/user.go` 3.
- ▪GET /users/search?q=jo should return users whose email starts with "jo" Use existing UserRepo, add the query method there Enter fullscreen mode Exit fullscreen mode Aider ตอบ: I'll add: 1.
- ▪A `SearchByEmailPrefix` method to `UserRepo` in `internal/repo/user.go` 2.
- ▪A search handler in `internal/handler/user.go` 3.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 4007831) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Gophernment Co Posted on Jun 30 Aider — Pair Programming จริงจังกับ AI ใน Terminal #ai #programming #tools #git Aider — Pair Programming จริงจังกับ AI ใน Terminal ผมเชื่อในสองเรื่อง: Pair Programming — มีใครสักคนนั่งข้าง ๆ คอยถาม คอยทัก คอยเสนอไอเดีย — มันทำให้โค้ดออกมาดีกว่าเขียนคนเดียวเงียบ ๆ Atomic Commit — แต่ละ commit ควรทำเรื่องเดียว จบในตัว — git log อ่านแล้วรู้เรื่อง ไม่ใช่ commit เดียวยาว 500 บรรทัดที่แก้ทุกอย่างตั้งแต่ database schema ยัน CSS ปัญหาคือหาคนมานั่ง pair…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).