Paul Lecuq
945b53f28c
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #1
11 lines
160 B
Go
11 lines
160 B
Go
package builder
|
|
|
|
type Aliased struct {
|
|
table interface{}
|
|
alias string
|
|
}
|
|
|
|
func As(table interface{}, alias string) *Aliased {
|
|
return &Aliased{table, alias}
|
|
}
|