type github.com/google/go-cmp/cmp.state
32 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L164: type state struct {
compare.go#L185: func newState(opts []Option) *state {
compare.go#L187: s := &state{opts: Options{validator{}}}
compare.go#L193: func (s *state) processOption(opt Option) {
compare.go#L220: func (s *state) statelessCompare(step PathStep) diff.Result {
compare.go#L235: func (s *state) compareAny(step PathStep) {
compare.go#L300: func (s *state) tryOptions(t reflect.Type, vx, vy reflect.Value) bool {
compare.go#L309: func (s *state) tryMethod(t reflect.Type, vx, vy reflect.Value) bool {
compare.go#L321: func (s *state) callTRFunc(f, v reflect.Value, step Transform) reflect.Value {
compare.go#L345: func (s *state) callTTBFunc(f, x, y reflect.Value) bool {
compare.go#L388: func (s *state) compareStruct(t reflect.Type, vx, vy reflect.Value) {
compare.go#L431: func (s *state) compareSlice(t reflect.Type, vx, vy reflect.Value) {
compare.go#L523: func (s *state) compareMap(t reflect.Type, vx, vy reflect.Value) {
compare.go#L565: func (s *state) comparePtr(t reflect.Type, vx, vy reflect.Value) {
compare.go#L582: func (s *state) compareInterface(t reflect.Type, vx, vy reflect.Value) {
compare.go#L595: func (s *state) report(eq bool, rf resultFlags) {
options.go#L32: filter(s *state, t reflect.Type, vx, vy reflect.Value) applicableOption
options.go#L42: apply(s *state, vx, vy reflect.Value)
options.go#L66: func (opts Options) filter(s *state, t reflect.Type, vx, vy reflect.Value) (out applicableOption) {
options.go#L87: func (opts Options) apply(s *state, _, _ reflect.Value) {
options.go#L132: func (f pathFilter) filter(s *state, t reflect.Type, vx, vy reflect.Value) applicableOption {
options.go#L179: func (f valuesFilter) filter(s *state, t reflect.Type, vx, vy reflect.Value) applicableOption {
options.go#L201: func (ignore) filter(_ *state, _ reflect.Type, _, _ reflect.Value) applicableOption { return ignore{} }
options.go#L202: func (ignore) apply(s *state, _, _ reflect.Value) { s.report(true, reportByIgnore) }
options.go#L210: func (validator) filter(_ *state, _ reflect.Type, vx, vy reflect.Value) applicableOption {
options.go#L219: func (validator) apply(s *state, vx, vy reflect.Value) {
options.go#L304: func (tr *transformer) filter(s *state, t reflect.Type, _, _ reflect.Value) applicableOption {
options.go#L318: func (tr *transformer) apply(s *state, vx, vy reflect.Value) {
options.go#L362: func (cm *comparer) filter(_ *state, t reflect.Type, _, _ reflect.Value) applicableOption {
options.go#L369: func (cm *comparer) apply(s *state, vx, vy reflect.Value) {
options.go#L412: func (exporter) filter(_ *state, _ reflect.Type, _, _ reflect.Value) applicableOption {
options.go#L518: func (reporter) filter(_ *state, _ reflect.Type, _, _ reflect.Value) applicableOption {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |