home.social

#gorm — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #gorm, aggregated by home.social.

  1. 🚀 Đạt 1000 sao trên GitHub cho dự án Go myapp! Cập nhật lớn: Go 1.26rc2, JSON v2, OpenAPI v3, trình tạo repository GORM, + Docker, Goose, Validator, Zerolog, Swag, GitHub Actions. Thư viện “batteries‑included”, không AI, không framework cũ. Cảm ơn cộng đồng! #GoLang #OpenSource #GitHubStars #CôngNghệ #LậpTrình #GORM #Docker

    reddit.com/r/programming/comme

  2. A question for the #Golang crowd! I'm building an API for configuring e-mail hosting. I want a simple #REST #API, and I'd like to build a #kubectl like command line client too. Backend will probably be #GORM and #PostgreSQL with a lot of different entities. What would you recommend for keeping the server and client models in sync? I'm thinking some sort of code generation, but I'm unsure about the direction to go in - #OAPI #Codegen or #Swaggo? Annotations in code or a definition in Yaml? Perhaps with the generated models in a separate module for easy sharing between #client and #server? How do the clever people do it? :-)

    #go

  3. A question for the #Golang crowd! I'm building an API for configuring e-mail hosting. I want a simple #REST #API, and I'd like to build a #kubectl like command line client too. Backend will probably be #GORM and #PostgreSQL with a lot of different entities. What would you recommend for keeping the server and client models in sync? I'm thinking some sort of code generation, but I'm unsure about the direction to go in - #OAPI #Codegen or #Swaggo? Annotations in code or a definition in Yaml? Perhaps with the generated models in a separate module for easy sharing between #client and #server? How do the clever people do it? :-)

    #go

  4. A question for the #Golang crowd! I'm building an API for configuring e-mail hosting. I want a simple #REST #API, and I'd like to build a #kubectl like command line client too. Backend will probably be #GORM and #PostgreSQL with a lot of different entities. What would you recommend for keeping the server and client models in sync? I'm thinking some sort of code generation, but I'm unsure about the direction to go in - #OAPI #Codegen or #Swaggo? Annotations in code or a definition in Yaml? Perhaps with the generated models in a separate module for easy sharing between #client and #server? How do the clever people do it? :-)

    #go

  5. A question for the #Golang crowd! I'm building an API for configuring e-mail hosting. I want a simple #REST #API, and I'd like to build a #kubectl like command line client too. Backend will probably be #GORM and #PostgreSQL with a lot of different entities. What would you recommend for keeping the server and client models in sync? I'm thinking some sort of code generation, but I'm unsure about the direction to go in - #OAPI #Codegen or #Swaggo? Annotations in code or a definition in Yaml? Perhaps with the generated models in a separate module for easy sharing between #client and #server? How do the clever people do it? :-)

    #go

  6. A question for the #Golang crowd! I'm building an API for configuring e-mail hosting. I want a simple #REST #API, and I'd like to build a #kubectl like command line client too. Backend will probably be #GORM and #PostgreSQL with a lot of different entities. What would you recommend for keeping the server and client models in sync? I'm thinking some sort of code generation, but I'm unsure about the direction to go in - #OAPI #Codegen or #Swaggo? Annotations in code or a definition in Yaml? Perhaps with the generated models in a separate module for easy sharing between #client and #server? How do the clever people do it? :-)

    #go

  7. Today we learn that gorm’s many2many association is (technically) broken if you use it with the embedded gorm.Model because that creates an artificial id sequence primary key field that obviously doesn’t conflict when you have multiple of the same, e.g., role but setting index:,unique on the field you need to be unique causes insert errors (at least using sqlite.)

    (Not hugely traumatic because I don’t need a sequence id anyway, I just wanted the metadata fields in gorm.Model which can just be copied into my own meta-model.)

    This post brought to you by 80 minutes of confusion and England being suprisingly not rubbish at cricket.

    #Go #Gorm #SQLite

  8. Today we learn that gorm’s many2many association is (technically) broken if you use it with the embedded gorm.Model because that creates an artificial id sequence primary key field that obviously doesn’t conflict when you have multiple of the same, e.g., role but setting index:,unique on the field you need to be unique causes insert errors (at least using sqlite.)

    (Not hugely traumatic because I don’t need a sequence id anyway, I just wanted the metadata fields in gorm.Model which can just be copied into my own meta-model.)

    This post brought to you by 80 minutes of confusion and England being suprisingly not rubbish at cricket.

    #Go #Gorm #SQLite

  9. Today we learn that gorm’s many2many association is (technically) broken if you use it with the embedded gorm.Model because that creates an artificial id sequence primary key field that obviously doesn’t conflict when you have multiple of the same, e.g., role but setting index:,unique on the field you need to be unique causes insert errors (at least using sqlite.)

    (Not hugely traumatic because I don’t need a sequence id anyway, I just wanted the metadata fields in gorm.Model which can just be copied into my own meta-model.)

    This post brought to you by 80 minutes of confusion and England being suprisingly not rubbish at cricket.

    #Go #Gorm #SQLite

  10. Today we learn that gorm’s many2many association is (technically) broken if you use it with the embedded gorm.Model because that creates an artificial id sequence primary key field that obviously doesn’t conflict when you have multiple of the same, e.g., role but setting index:,unique on the field you need to be unique causes insert errors (at least using sqlite.)

    (Not hugely traumatic because I don’t need a sequence id anyway, I just wanted the metadata fields in gorm.Model which can just be copied into my own meta-model.)

    This post brought to you by 80 minutes of confusion and England being suprisingly not rubbish at cricket.

    #Go #Gorm #SQLite

  11. Психанул на неудобный драйвер pgx и написал свою библиотеку. Все как по канонам гошников ) — Golang

    После месяцев рутинного сканирования строк в структуры я решил: "Хватит это терпеть!" и психанув, создал обертку, которая: ✔ Автоматизирует скан — никаких rows.Scan(), просто передаете структуру ✔ Работает с любыми вложенностями — даже сложные JSON-поля парсятся без боли ✔ Не тормозит — минимальные накладные расходы, вся мощь pgx сохраняется ✔ Подходит для любого проекта — можно внедрять постепенно 👉 Это не просто библиотека — это мой ответ на боль всех gopher'ов!

    habr.com/ru/articles/931248/

    #go #golang #orm #postgres #postgresql #pgx #gorm #opensource #software #sql

  12. Психанул на неудобный драйвер pgx и написал свою библиотеку. Все как по канонам гошников ) — Golang

    После месяцев рутинного сканирования строк в структуры я решил: "Хватит это терпеть!" и психанув, создал обертку, которая: ✔ Автоматизирует скан — никаких rows.Scan(), просто передаете структуру ✔ Работает с любыми вложенностями — даже сложные JSON-поля парсятся без боли ✔ Не тормозит — минимальные накладные расходы, вся мощь pgx сохраняется ✔ Подходит для любого проекта — можно внедрять постепенно 👉 Это не просто библиотека — это мой ответ на боль всех gopher'ов!

    habr.com/ru/articles/931248/

    #go #golang #orm #postgres #postgresql #pgx #gorm #opensource #software #sql

  13. Психанул на неудобный драйвер pgx и написал свою библиотеку. Все как по канонам гошников ) — Golang

    После месяцев рутинного сканирования строк в структуры я решил: "Хватит это терпеть!" и психанув, создал обертку, которая: ✔ Автоматизирует скан — никаких rows.Scan(), просто передаете структуру ✔ Работает с любыми вложенностями — даже сложные JSON-поля парсятся без боли ✔ Не тормозит — минимальные накладные расходы, вся мощь pgx сохраняется ✔ Подходит для любого проекта — можно внедрять постепенно 👉 Это не просто библиотека — это мой ответ на боль всех gopher'ов!

    habr.com/ru/articles/931248/

    #go #golang #orm #postgres #postgresql #pgx #gorm #opensource #software #sql

  14. Психанул на неудобный драйвер pgx и написал свою библиотеку. Все как по канонам гошников ) — Golang

    После месяцев рутинного сканирования строк в структуры я решил: "Хватит это терпеть!" и психанув, создал обертку, которая: ✔ Автоматизирует скан — никаких rows.Scan(), просто передаете структуру ✔ Работает с любыми вложенностями — даже сложные JSON-поля парсятся без боли ✔ Не тормозит — минимальные накладные расходы, вся мощь pgx сохраняется ✔ Подходит для любого проекта — можно внедрять постепенно 👉 Это не просто библиотека — это мой ответ на боль всех gopher'ов!

    habr.com/ru/articles/931248/

    #go #golang #orm #postgres #postgresql #pgx #gorm #opensource #software #sql

  15. pgxWrappy — потому что жизнь слишком коротка для ручного сканирования в Go! �

    Если вы устали от бесконечного rows.Scan(), ручного разбора вложенных структур и километрового boilerplate-кода — pgxWrappy создан для вас! 🚀 Делаем неудобное удобным! Жить с удобством

    habr.com/ru/articles/931242/

    #Go #golang #pgx #sql #gorm #orm #postgres #pgsql #database #opensource

  16. pgxWrappy — потому что жизнь слишком коротка для ручного сканирования в Go! �

    Если вы устали от бесконечного rows.Scan(), ручного разбора вложенных структур и километрового boilerplate-кода — pgxWrappy создан для вас! 🚀 Делаем неудобное удобным! Жить с удобством

    habr.com/ru/articles/931242/

    #Go #golang #pgx #sql #gorm #orm #postgres #pgsql #database #opensource

  17. pgxWrappy — потому что жизнь слишком коротка для ручного сканирования в Go! �

    Если вы устали от бесконечного rows.Scan(), ручного разбора вложенных структур и километрового boilerplate-кода — pgxWrappy создан для вас! 🚀 Делаем неудобное удобным! Жить с удобством

    habr.com/ru/articles/931242/

    #Go #golang #pgx #sql #gorm #orm #postgres #pgsql #database #opensource

  18. pgxWrappy — потому что жизнь слишком коротка для ручного сканирования в Go! �

    Если вы устали от бесконечного rows.Scan(), ручного разбора вложенных структур и километрового boilerplate-кода — pgxWrappy создан для вас! 🚀 Делаем неудобное удобным! Жить с удобством

    habr.com/ru/articles/931242/

    #Go #golang #pgx #sql #gorm #orm #postgres #pgsql #database #opensource

  19. Как построить оценку качества контакт-центра с помощью Speech Analytics API

    Привет, Хабр! Контакт-центры — это важная линия взаимодействия бизнеса с клиентами. Клиенты могут быть разными: кто-то жалуется на задержки, кто-то хочет вернуть товар, а кто-то просто звонит выразить благодарность. Но для бизнеса важно понять одно: насколько хорошо оператор решил проблему клиента? И ушел ли клиент довольным? В этой статье создадим систему для анализа качества работы операторов. Будем извлекать данные о звонках, сохранять их в базе данных и автоматизируем процесс с помощью webhook. В конце концов, контакт-центр — это не только про разговоры, это про цифры.

    habr.com/ru/companies/exolve/a

    #kpi_колцентра #оценка_качества #Speech_Analytics_API #sqlite #gorm #webhook #контактцентр #анализ_звонков

  20. Как построить оценку качества контакт-центра с помощью Speech Analytics API

    Привет, Хабр! Контакт-центры — это важная линия взаимодействия бизнеса с клиентами. Клиенты могут быть разными: кто-то жалуется на задержки, кто-то хочет вернуть товар, а кто-то просто звонит выразить благодарность. Но для бизнеса важно понять одно: насколько хорошо оператор решил проблему клиента? И ушел ли клиент довольным? В этой статье создадим систему для анализа качества работы операторов. Будем извлекать данные о звонках, сохранять их в базе данных и автоматизируем процесс с помощью webhook. В конце концов, контакт-центр — это не только про разговоры, это про цифры.

    habr.com/ru/companies/exolve/a

    #kpi_колцентра #оценка_качества #Speech_Analytics_API #sqlite #gorm #webhook #контактцентр #анализ_звонков

  21. Как построить оценку качества контакт-центра с помощью Speech Analytics API

    Привет, Хабр! Контакт-центры — это важная линия взаимодействия бизнеса с клиентами. Клиенты могут быть разными: кто-то жалуется на задержки, кто-то хочет вернуть товар, а кто-то просто звонит выразить благодарность. Но для бизнеса важно понять одно: насколько хорошо оператор решил проблему клиента? И ушел ли клиент довольным? В этой статье создадим систему для анализа качества работы операторов. Будем извлекать данные о звонках, сохранять их в базе данных и автоматизируем процесс с помощью webhook. В конце концов, контакт-центр — это не только про разговоры, это про цифры.

    habr.com/ru/companies/exolve/a

    #kpi_колцентра #оценка_качества #Speech_Analytics_API #sqlite #gorm #webhook #контактцентр #анализ_звонков

  22. Как построить оценку качества контакт-центра с помощью Speech Analytics API

    Привет, Хабр! Контакт-центры — это важная линия взаимодействия бизнеса с клиентами. Клиенты могут быть разными: кто-то жалуется на задержки, кто-то хочет вернуть товар, а кто-то просто звонит выразить благодарность. Но для бизнеса важно понять одно: насколько хорошо оператор решил проблему клиента? И ушел ли клиент довольным? В этой статье создадим систему для анализа качества работы операторов. Будем извлекать данные о звонках, сохранять их в базе данных и автоматизируем процесс с помощью webhook. В конце концов, контакт-центр — это не только про разговоры, это про цифры.

    habr.com/ru/companies/exolve/a

    #kpi_колцентра #оценка_качества #Speech_Analytics_API #sqlite #gorm #webhook #контактцентр #анализ_звонков

  23. Version 0.2.11 of my Mishos TV tracking app has been released.

    Another small update. I redesigned the main menu to be collapsable with text descriptions. I also redesigned the top header menus a bit.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  24. Version 0.2.11 of my Mishos TV tracking app has been released.

    Another small update. I redesigned the main menu to be collapsable with text descriptions. I also redesigned the top header menus a bit.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  25. Version 0.2.11 of my Mishos TV tracking app has been released.

    Another small update. I redesigned the main menu to be collapsable with text descriptions. I also redesigned the top header menus a bit.

    github.com/bljohnsondev/mishos

  26. Version 0.2.11 of my Mishos TV tracking app has been released.

    Another small update. I redesigned the main menu to be collapsable with text descriptions. I also redesigned the top header menus a bit.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  27. Version 0.2.11 of my Mishos TV tracking app has been released.

    Another small update. I redesigned the main menu to be collapsable with text descriptions. I also redesigned the top header menus a bit.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  28. Как подружить Gorm и PostGIS, решение промышленного уровня

    GORM Фантастическая ORM для Golang. PostGIS расширяет возможности реляционной базы данных PostgreSQL , добавляя поддержку хранения, индексирования и запросов геопространственных данных. В этой статье поделимся своим опытом интеграции GORM и PostGIS, сложностями при попытке использования gorm для работы с геометрическими данными и конечно предлагаем готовое решение. Изначально эта статья была опубликована здесь .

    habr.com/ru/articles/847048/

    #geolocation #golang #gorm #postgis #postgres #геоданные

  29. Как подружить Gorm и PostGIS, решение промышленного уровня

    GORM Фантастическая ORM для Golang. PostGIS расширяет возможности реляционной базы данных PostgreSQL , добавляя поддержку хранения, индексирования и запросов геопространственных данных. В этой статье поделимся своим опытом интеграции GORM и PostGIS, сложностями при попытке использования gorm для работы с геометрическими данными и конечно предлагаем готовое решение. Изначально эта статья была опубликована здесь .

    habr.com/ru/articles/847048/

    #geolocation #golang #gorm #postgis #postgres #геоданные

  30. Как подружить Gorm и PostGIS, решение промышленного уровня

    GORM Фантастическая ORM для Golang. PostGIS расширяет возможности реляционной базы данных PostgreSQL , добавляя поддержку хранения, индексирования и запросов геопространственных данных. В этой статье поделимся своим опытом интеграции GORM и PostGIS, сложностями при попытке использования gorm для работы с геометрическими данными и конечно предлагаем готовое решение. Изначально эта статья была опубликована здесь .

    habr.com/ru/articles/847048/

    #geolocation #golang #gorm #postgis #postgres #геоданные

  31. Version 0.2.10 of my Mishos TV tracking app has been released.

    This is a small update. Someone added a good issue asking if there is a way to test the notification URL. Now there is! I added a "Send Test" button that will trigger a notification test.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  32. Version 0.2.10 of my Mishos TV tracking app has been released.

    This is a small update. Someone added a good issue asking if there is a way to test the notification URL. Now there is! I added a "Send Test" button that will trigger a notification test.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  33. Version 0.2.10 of my Mishos TV tracking app has been released.

    This is a small update. Someone added a good issue asking if there is a way to test the notification URL. Now there is! I added a "Send Test" button that will trigger a notification test.

    github.com/bljohnsondev/mishos

  34. Version 0.2.10 of my Mishos TV tracking app has been released.

    This is a small update. Someone added a good issue asking if there is a way to test the notification URL. Now there is! I added a "Send Test" button that will trigger a notification test.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  35. Version 0.2.10 of my Mishos TV tracking app has been released.

    This is a small update. Someone added a good issue asking if there is a way to test the notification URL. Now there is! I added a "Send Test" button that will trigger a notification test.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  36. Version 0.2.9 of my Mishos TV tracking app has been released.

    I found an issue where TVMaze added incorrect episodes to a show and then removed them but the local show refresh process didn't pick up the removed episodes.

    - Fixed an issue when refreshing show data if the provider removed episodes.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  37. Version 0.2.9 of my Mishos TV tracking app has been released.

    I found an issue where TVMaze added incorrect episodes to a show and then removed them but the local show refresh process didn't pick up the removed episodes.

    - Fixed an issue when refreshing show data if the provider removed episodes.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  38. Version 0.2.9 of my Mishos TV tracking app has been released.

    I found an issue where TVMaze added incorrect episodes to a show and then removed them but the local show refresh process didn't pick up the removed episodes.

    - Fixed an issue when refreshing show data if the provider removed episodes.

    github.com/bljohnsondev/mishos

  39. Version 0.2.9 of my Mishos TV tracking app has been released.

    I found an issue where TVMaze added incorrect episodes to a show and then removed them but the local show refresh process didn't pick up the removed episodes.

    - Fixed an issue when refreshing show data if the provider removed episodes.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  40. Version 0.2.9 of my Mishos TV tracking app has been released.

    I found an issue where TVMaze added incorrect episodes to a show and then removed them but the local show refresh process didn't pick up the removed episodes.

    - Fixed an issue when refreshing show data if the provider removed episodes.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  41. Version 0.2.8 of my Mishos TV tracking app has been released.

    - Added multi-user support
    - Added user roles for admin and user
    - Adding admin functionality for adding, editing and removing users

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  42. Version 0.2.8 of my Mishos TV tracking app has been released.

    - Added multi-user support
    - Added user roles for admin and user
    - Adding admin functionality for adding, editing and removing users

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  43. Version 0.2.8 of my Mishos TV tracking app has been released.

    - Added multi-user support
    - Added user roles for admin and user
    - Adding admin functionality for adding, editing and removing users

    github.com/bljohnsondev/mishos

  44. Version 0.2.8 of my Mishos TV tracking app has been released.

    - Added multi-user support
    - Added user roles for admin and user
    - Adding admin functionality for adding, editing and removing users

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  45. Version 0.2.8 of my Mishos TV tracking app has been released.

    - Added multi-user support
    - Added user roles for admin and user
    - Adding admin functionality for adding, editing and removing users

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  46. Forgot to add hashtags to this Mishos 0.2.7 release post. Adding here! See previous post for release details.

    Version 0.2.7 of my Mishos TV tracking app has been released.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm

  47. Forgot to add hashtags to this Mishos 0.2.7 release post. Adding here! See previous post for release details.

    Version 0.2.7 of my Mishos TV tracking app has been released.

    github.com/bljohnsondev/mishos

  48. Forgot to add hashtags to this Mishos 0.2.7 release post. Adding here! See previous post for release details.

    Version 0.2.7 of my Mishos TV tracking app has been released.

    github.com/bljohnsondev/mishos

    #mishos #webdev #selfhosted #selfhosting #foss #html #css #javascript #lit #webcomponents #golang #gin #gorm