Which feature of ORM libraries in Go allows developers to define relationships between different database tables?

  • Channels
  • Interfaces
  • Pointers
  • Struct Tags
ORM libraries in Go utilize struct tags to define relationships between different database tables. Struct tags are annotations added to struct fields that provide metadata used by ORM libraries to map Go objects to database tables and define relationships.
Add your answer
Loading...

Leave a comment

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