yokoe/gorm-snippets

View on GitHub
cmd/main.go

Summary

Maintainability
A
0 mins
Test Coverage
package main

import (
    "log"

    snippet "github.com/yokoe/gorm-snippets"
)

func main() {
    s, err := snippet.BatchFindByID("model.Book")
    if err != nil {
        log.Fatalf("Error: %v", err)
    }
    log.Println(s)
}