Skip to content

kallax:"column_name" doesn't seems to work #159

@m-kad

Description

@m-kad
package model

import "gopkg.in/src-d/go-kallax.v1"

//go:generate kallax gen

type Foo struct {
	kallax.Model `table:"foo"`
	ID           int64  `pk:""`
	Asd          string `kallax:"asd_column"`
}

kallax:"asd_column" seems to be totally ignored, it doesn't matter what I write in there
kallax version 1.2.2
go version go1.8.1 linux/amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions