Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInstanceOf

func IsInstanceOf(objectPtr, typePtr interface{}) bool

    IsInstanceOf checks if objectPtr matches typePtr. Thanks to https://stackoverflow.com/a/48145372

    Types

    type PlaceholderLogger

    type PlaceholderLogger struct {
    	mock.Mock
    	// contains filtered or unexported fields
    }

      PlaceholderLogger is a placeholder logger

      func (*PlaceholderLogger) Debug

      func (l *PlaceholderLogger) Debug(args ...interface{})

        Debug is a dummy logger method

        func (*PlaceholderLogger) Debugf

        func (l *PlaceholderLogger) Debugf(format string, args ...interface{})

          Debugf is a dummy logger method

          func (*PlaceholderLogger) Error

          func (l *PlaceholderLogger) Error(args ...interface{})

            Error is a dummy logger method

            func (*PlaceholderLogger) Errorf

            func (l *PlaceholderLogger) Errorf(format string, args ...interface{})

              Errorf is a dummy logger method

              func (*PlaceholderLogger) Fatal

              func (l *PlaceholderLogger) Fatal(args ...interface{})

                Fatal is a dummy logger method

                func (*PlaceholderLogger) Fatalf

                func (l *PlaceholderLogger) Fatalf(format string, args ...interface{})

                  Fatalf is a dummy logger method

                  func (*PlaceholderLogger) Info

                  func (l *PlaceholderLogger) Info(args ...interface{})

                    Info is a dummy logger method

                    func (*PlaceholderLogger) Infof

                    func (l *PlaceholderLogger) Infof(format string, args ...interface{})

                      Infof is a dummy logger method

                      func (*PlaceholderLogger) Warn

                      func (l *PlaceholderLogger) Warn(args ...interface{})

                        Warn is a dummy logger method

                        func (*PlaceholderLogger) Warnf

                        func (l *PlaceholderLogger) Warnf(format string, args ...interface{})

                          Warnf is a dummy logger method

                          type TestLogger

                          type TestLogger struct {
                          	mock.Mock
                          	// contains filtered or unexported fields
                          }

                            TestLogger is a dummy logger for unit tests

                            func (*TestLogger) Debug

                            func (l *TestLogger) Debug(args ...interface{})

                              Debug is a dummy logger method

                              func (*TestLogger) Debugf

                              func (l *TestLogger) Debugf(format string, args ...interface{})

                                Debugf is a dummy logger method

                                func (*TestLogger) Error

                                func (l *TestLogger) Error(args ...interface{})

                                  Error is a dummy logger method

                                  func (*TestLogger) Errorf

                                  func (l *TestLogger) Errorf(format string, args ...interface{})

                                    Errorf is a dummy logger method

                                    func (*TestLogger) Fatal

                                    func (l *TestLogger) Fatal(args ...interface{})

                                      Fatal is a dummy logger method

                                      func (*TestLogger) Fatalf

                                      func (l *TestLogger) Fatalf(format string, args ...interface{})

                                        Fatalf is a dummy logger method

                                        func (*TestLogger) Info

                                        func (l *TestLogger) Info(args ...interface{})

                                          Info is a dummy logger method

                                          func (*TestLogger) Infof

                                          func (l *TestLogger) Infof(format string, args ...interface{})

                                            Infof is a dummy logger method

                                            func (*TestLogger) Warn

                                            func (l *TestLogger) Warn(args ...interface{})

                                              Warn is a dummy logger method

                                              func (*TestLogger) Warnf

                                              func (l *TestLogger) Warnf(format string, args ...interface{})

                                                Warnf is a dummy logger method