tableName := schema.GetDbTableName("vms") // tableName returned = "vm_instances"
typeName := "examples" tableName := schema.GetDbTableName(typeName) // tableName returned = "example_instances"This example shows the usage of GetDbTableName() function to get the corresponding database table name for the resource "examples". It returns "example_instances" as the table name. Package library: github.com/cloudwan/gohan/schema.