func (*DependsOnSkipped) scanValues(columns []string) ([]interface{}, error) {
	values := make([]interface{}, len(columns))
	for i := range columns {
		switch columns[i] {
		case dependsonskipped.FieldID:
			values[i] = new(sql.NullInt64)
		case dependsonskipped.FieldName:
			values[i] = new(sql.NullString)
		default:
			return nil, fmt.Errorf("unexpected column %q for type DependsOnSkipped", columns[i])
		}
	}
	return values, nil
}
scanValues returns the types for scanning values from sql.Rows.
package ent
import (
	"fmt"
	"strings"
	"entgo.io/contrib/entproto/internal/entprototest/ent/dependsonskipped"
	"entgo.io/ent/dialect/sql"
)
type DependsOnSkipped struct {
	config `json:"-"`
	ID int `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	Edges DependsOnSkippedEdges `json:"edges"`
}
type DependsOnSkippedEdges struct {
	Skipped []*ImplicitSkippedMessage `json:"skipped,omitempty"`
	loadedTypes [1]bool
}
func (e DependsOnSkippedEdges) SkippedOrErr() ([]*ImplicitSkippedMessage, error) {
	if e.loadedTypes[0] {
		return e.Skipped, nil
	}
	return nil, &NotLoadedError{edge: "skipped"}
}