Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for abcdefghijklmnopqrstuvwxyz_0123456789 (0.28 sec)

  1. cmd/dummy-data-generator_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"testing"
    )
    
    var alphabets = []byte("abcdefghijklmnopqrstuvwxyz0123456789")
    
    // DummyDataGen returns a reader that repeats the bytes in `alphabets`
    // upto the desired length.
    type DummyDataGen struct {
    	b           []byte
    	idx, length int64
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4.8K bytes
    - Viewed (0)
Back to top