github.com/s7techlab/cckit@v0.10.5/state/testdata/testdata.go (about)

     1  package testdata
     2  
     3  import (
     4  	"github.com/s7techlab/cckit/state/testdata/schema"
     5  )
     6  
     7  var Books = []schema.Book{{
     8  	Id:    `ISBN-111`,
     9  	Title: `first title`, Chapters: []schema.BookChapter{
    10  		{Pos: 1, Title: `chapter 111.1`}, {Pos: 2, Title: `chapter 111.2`}}},
    11  
    12  	{
    13  		Id: `ISBN-222`, Title: `second title`, Chapters: []schema.BookChapter{
    14  			{Pos: 1, Title: `chapter 222.1`}, {Pos: 2, Title: `chapter 222.2`}, {Pos: 3, Title: `chapter 222.3`}}},
    15  
    16  	{
    17  		Id: `ISBN-333`, Title: `third title`, Chapters: []schema.BookChapter{
    18  			{Pos: 1, Title: `chapter 333.1`}, {Pos: 2, Title: `chapter 333.2`}, {Pos: 3, Title: `chapter 333.3`}, {Pos: 4, Title: `chapter 333.4`}}},
    19  }
    20  
    21  var PrivateBooks = []schema.PrivateBook{{
    22  	Id:    `ISBN-111`,
    23  	Title: `first title`, Chapters: []schema.BookChapter{
    24  		{Pos: 1, Title: `chapter 111.1`}, {Pos: 2, Title: `chapter 111.2`}}},
    25  
    26  	{
    27  		Id: `ISBN-222`, Title: `second title`, Chapters: []schema.BookChapter{
    28  			{Pos: 1, Title: `chapter 222.1`}, {Pos: 2, Title: `chapter 222.2`}, {Pos: 3, Title: `chapter 222.3`}}},
    29  
    30  	{
    31  		Id: `ISBN-333`, Title: `third title`, Chapters: []schema.BookChapter{
    32  			{Pos: 1, Title: `chapter 333.1`}, {Pos: 2, Title: `chapter 333.2`}, {Pos: 3, Title: `chapter 333.3`}, {Pos: 4, Title: `chapter 333.4`}}},
    33  }