api

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const AUTHORS_SOURCES_SQL = `` /* 691-byte string literal not displayed */
View Source
const SOURCE_HIERARCHY_SQL = `` /* 1707-byte string literal not displayed */

args: 0,1,3,4 language 2 roots clause, "parent_id is NULL", "id = 8392", etc... 5 depth (int)

View Source
const TAG_HIERARCHY_SQL = `` /* 810-byte string literal not displayed */

args: 0,2 language 1 roots clause, "parent_id is NULL", "id = 8392", etc... 3 depth (int)

Variables

View Source
var CT = map[string]map[string]string{
	"content_type.DAILY_LESSON": {
		"he": "שיעור יומי",
		"en": "Daily Lesson",
		"ru": "Урок",
		"es": "Lección Diaria",
		"ua": "Урок",
		"de": "Tägliche Lektion",
		"it": "Lezione del giorno",
		"cz": "Denní lekce",
		"tr": "Günlük Ders",
	},
	"content_type.SPECIAL_LESSON": {
		"he": "שיעור יומי",
		"en": "Daily Lesson",
		"ru": "Урок",
		"es": "Lección Diaria",
		"ua": "Урок",
		"de": "Besondere Lektion",
		"it": "Lezione speciale",
		"cz": "Denní lekce",
		"tr": "Özel Ders",
	},
	"content_type.FRIENDS_GATHERINGS": {
		"he": "ישיבות חברים",
		"en": "Gatherings of Friends",
		"ru": "Ешиват хаверим",
		"es": "Asamblea de Amigos",
		"ua": "Єшиват Хаверім",
		"de": "Versammlungen der Freunde",
		"it": "Assemblea degli Amici",
		"cz": "Shromáždění přátel",
		"tr": "Dostlar Toplantısı",
	},
	"content_type.CONGRESS": {
		"he": "כנס",
		"en": "Convention",
		"ru": "Конгресс",
		"es": "Congreso",
		"ua": "Конгрес",
		"de": "Kongress",
		"it": "Congresso",
		"cz": "Setkání",
		"tr": "Kongre",
	},
	"content_type.VIDEO_PROGRAM": {
		"he": "תוכנית טלוויזיה",
		"en": "TV Show",
		"ru": "ТВ программа",
		"es": "Programa",
		"ua": "ТВ Програма",
		"de": "Videoprogramm",
		"it": "Programma video",
		"cz": "TV pořad",
		"tr": "TV Programı",
	},
	"content_type.LECTURE_SERIES": {
		"he": "סדרת הרצאות",
		"en": "Lecture Series",
		"ru": "Серия лекций",
		"es": "Serie de Charlas",
		"ua": "Серія Лекцій",
		"de": "Vortragsreihe",
		"it": "Serie di conferenze",
		"cz": "Série přednášek",
		"tr": "Konferans Serileri",
	},
	"content_type.CHILDREN_LESSONS": {
		"he": "שיעורי ילדים",
		"en": "Children Lessons",
		"ru": "Детские уроки",
		"es": "Lección de Niños",
		"ua": "Діти Уроки",
		"de": "Unterrichte für Kinder",
		"it": "Lezioni per i bambini",
		"cz": "Dětské lekce",
		"tr": "Çocuk Dersleri",
	},
	"content_type.WOMEN_LESSONS": {
		"he": "שיעורי נשים",
		"en": "Women Lessons",
		"ru": "Женские уроки",
		"es": "Lección de Mujeres",
		"ua": "Уроки для жiнок",
		"de": "Unterrichte für Frauen",
		"it": "Lezioni per le donne",
		"cs": "Ženské lekce",
		"tr": "Kadın Dersleri",
	},
	"content_type.VIRTUAL_LESSONS": {
		"he": "שיעורים וירטואלים",
		"en": "Virtual Lessons",
		"ru": "Виртуальные уроки",
		"es": "Lecciones Virtuales",
		"ua": "Віртуальнi Уроки",
		"de": "Virtuelle Lektionen",
		"it": "Lezioni virtuali",
		"cz": "Virtuální lekce",
		"tr": "Sanal Dersler",
	},
	"content_type.MEALS": {
		"he": "סעודות",
		"en": "Meals",
		"ru": "Трапезы",
		"es": "Comidas",
		"ua": "Трапези",
		"de": "Mahlzeiten",
		"it": "Pasti",
		"cs": "Jídla",
		"tr": "Yemekler",
	},
	"content_type.HOLIDAY": {
		"he": "חג",
		"en": "Holiday",
		"ru": "Праздник",
		"es": "Fiestas",
		"ua": "Свято",
		"de": "Feiertag",
		"it": "Festività",
		"cs": "Svátky",
		"tr": "Bayram",
	},
	"content_type.PICNIC": {
		"he": "פיקניק",
		"en": "Picnic",
		"ru": "Пикник",
		"es": "Picnic",
		"ua": "Пікнік",
		"de": "Picknick",
		"it": "Picnic",
		"cs": "Piknik",
		"tr": "Piknik",
	},
	"content_type.UNITY_DAY": {
		"he": "יום איחוד",
		"en": "Unity Day",
		"ru": "День народного единства",
		"es": "Día de Unión",
		"ua": "День Народної Єдності",
		"de": "Unity Day",
		"it": "Unity Day- Giorno dell’Unione",
		"cs": "Den jednoty",
		"tr": "Birlik Günü",
	},
	"content_type.CLIPS": {
		"he": "קליפים",
		"en": "Clips",
		"ru": "Клипы",
		"es": "Clips",
		"ua": "Кліпи",
		"de": "Clips",
		"it": "Video brevi",
		"cs": "Klip",
		"tr": "Klipler",
	},
	"content_type.ARTICLES": {
		"he": "מאמרים",
		"en": "Articles",
		"ru": "Статьи",
		"es": "Artículos",
		"ua": "Статті",
		"de": "Artikel",
		"it": "Articoli",
		"cs": "Články",
		"tr": "Makaleler",
	},
	"content_type.LESSONS_SERIES": {
		"he": "סדרת שיעורים",
		"en": "Lessons Series",
		"ru": "Серия уроки",
		"es": "Serie de Lecciones",
		"ua": "Серія Уроки",
		"de": "Teil Nr. der Lektion",
		"it": "Serie di lezioni",
		"cs": "Série lekcí",
		"tr": "Ders Serileri",
	},
	"content_type.SONGS": {
		"he": "שירים",
		"en": "Songs",
		"ru": "песни",
		"es": "Canciones",
		"ua": "Пісні",
		"de": "Lieder",
		"it": "Canzoni",
		"cs": "Písnišky",
		"tr": "Şarkılar",
	},
	"content_type.BOOKS": {
		"he": "ספרים",
		"en": "Books",
		"ru": "книги",
		"es": "Libros",
		"ua": "Книги",
		"de": "Bücher",
		"it": "Libri",
		"cs": "Knihy",
		"tr": "Kitaplar",
	},
	"content_type.LESSON_PART": {
		"he": "חלק שיעור",
		"en": "Lesson Part",
		"ru": "Урок часть",
		"es": "Parte de la Lección",
		"ua": "Урок Частина",
		"de": "Lektionsteil",
		"it": "Parte dalla lezione",
		"cs": "Část lekce",
		"tr": "Ders Bölümü",
	},
	"content_type.LECTURE": {
		"he": "הרצאה",
		"en": "Lecture",
		"ru": "Лекция",
		"es": "Charla",
		"ua": "Лекція",
		"de": "Lektion",
		"it": "Conferenza",
		"cs": "Přednáška",
		"tr": "Konferans",
	},
	"content_type.CHILDREN_LESSON": {
		"he": "שיעור ילדים",
		"en": "Children Lesson",
		"ru": "Детский урок",
		"es": "Lección de Niños",
		"ua": "Діти Урок",
		"de": "Unterricht für Kinder",
		"it": "Lezione per i bambini",
		"cs": "Dětská lekce",
		"tr": "Çocuk Dersi",
	},
	"content_type.WOMEN_LESSON": {
		"he": "שיעור נשים",
		"en": "Women Lesson",
		"ru": "Женский урок",
		"es": "Lección de Mujeres",
		"ua": "Урок для жiнок",
		"de": "Unterricht für Frauen",
		"it": "Lezione per le donne",
		"cs": "Ženská lekce",
		"tr": "Kadın Dersi",
	},
	"content_type.VIRTUAL_LESSON": {
		"he": "שיעור וירטואלי",
		"en": "Virtual Lesson",
		"ru": "Виртуальный урок",
		"es": "Lección Virtual",
		"ua": "Віртуальний Урок",
		"de": "Virtuelle Lektion",
		"it": "Lezione virtuale",
		"cs": "Virtuální lekce",
		"tr": "Sanal Ders",
	},
	"content_type.FRIENDS_GATHERING": {
		"he": "ישיבת חברים",
		"en": "Gathering of Friends",
		"ru": "Ешиват хаверим",
		"es": "Asamblea de Amigos",
		"ua": "Єшиват Хаверім",
		"de": "Versammlung der Freunde",
		"it": "Assemblea degli Amici",
		"cs": "Setkávání přátel",
		"tr": "Dostlar Toplantısı",
	},
	"content_type.MEAL": {
		"he": "סעודה",
		"en": "Meal",
		"ru": "Трапеза",
		"es": "Comida",
		"ua": "Трапеза",
		"de": "Mahlzeit",
		"it": "Assemblea degli Amici",
		"cs": "Jídlo",
		"tr": "Yemek",
	},
	"content_type.VIDEO_PROGRAM_CHAPTER": {
		"he": "פרק",
		"en": "Episode",
		"ru": "Эпизод",
		"es": "Capitulo",
		"ua": "Епізод",
		"de": "Teil des Programmes",
		"it": "Episodio del programma video",
		"cs": "Epizoda",
		"tr": "Bölüm",
	},
	"content_type.FULL_LESSON": {
		"he": "שיעור מלא",
		"en": "Full Lesson",
		"ru": "Полный урок",
		"es": "Lección Completa",
		"ua": "Цілий Урок",
		"de": "Vollständige Lektion",
		"it": "Lezione completa",
		"cs": "Celá lekce",
		"tr": "Tam Ders",
	},
	"content_type.ARTICLE": {
		"he": "מאמר",
		"en": "Article",
		"ru": "Статья",
		"es": "Articulo",
		"ua": "Стаття",
		"de": "Artikel",
		"it": "Articolo",
		"cs": "Článek",
		"tr": "Makale",
	},
	"content_type.UNKNOWN": {
		"he": "לא ידוע",
		"en": "Unknown",
		"ru": "Неизвестный",
		"es": "Desconocido",
		"ua": "Невідомий",
		"de": "Unbekannt",
		"it": "Sconosciuto",
		"cs": "Neznámé",
		"tr": "Bilinmeyen",
	},
	"content_type.EVENT_PART": {
		"he": "חלק מאירוע",
		"en": "Event Part",
		"ru": "Событие часть",
		"es": "Parte del Evento",
		"ua": "Подія Частина",
		"de": "Teil der Veranstaltung",
		"it": "Parte dell'evento",
		"cs": "Část události",
		"tr": "Olaylar Bölümü",
	},
	"content_type.CLIP": {
		"he": "קליפ",
		"en": "Clip",
		"ru": "Клип",
		"es": "Clip",
		"ua": "Кліп",
		"de": "Clip",
		"it": "Video breve",
		"cs": "Klip",
		"tr": "Klip",
	},
	"content_type.TRAINING": {
		"he": "הכשרה",
		"en": "Training",
		"ru": "Обучение",
		"es": "Entrenamiento",
		"ua": "Навчання",
		"de": "Training",
		"it": "Formazione",
		"cs": "Trénink",
		"tr": "Eğitim",
	},
	"content_type.KITEI_MAKOR": {
		"he": "קטעי מקור",
		"en": "Source Excerpts",
		"ru": "Исходные выдержки",
		"es": "Extractos de Fuentes",
		"ua": "Початкові Витяги",
		"de": "Fragmente von Primärquellen",
		"it": "Estratti dalle fonti",
		"cs": "Výňatky ze zdrojů",
		"tr": "Kaynaklardan Alıntılar",
	},
	"content_type.PUBLICATION": {
		"he": "פירסום",
		"en": "Publication",
		"ru": "Публикация",
		"es": "Publicidad",
		"ua": "Публікація",
		"de": "Veröffentlichung",
		"it": "Pubblicazione",
		"cs": "Publikace",
		"tr": "Yayınlar",
	},
	"content_type.LELO_MIKUD": {
		"he": "ללא קבוצת מיקוד",
		"en": "Without Focus Group",
		"ru": "Без фокус-группы",
		"es": "Editado - sin grupo de enfoque",
		"ua": "Без Фокус-Групи",
		"de": "Bearbeitet - Ohne Fokusgruppen",
		"it": "Senza Focus Group",
		"cs": "Bez Focus Group",
		"tr": "Fokuz Grupsuz",
	},
	"content_type.SONG": {
		"he": "שיר",
		"en": "Song",
		"ru": "песня",
		"es": "Canción",
		"ua": "Пісня",
		"de": "Lied",
		"it": "Canzone",
		"cs": "Píseň",
		"tr": "Şarkı",
	},
	"content_type.BOOK": {
		"he": "ספר",
		"en": "Book",
		"ru": "Книга",
		"es": "Libro",
		"ua": "Книга",
		"de": "Buch",
		"it": "Libro",
		"cs": "Kniha",
		"tr": "Kitap",
	},
	"content_type.BLOG_POST": {
		"he": "פוסט בבלוג",
		"en": "Blog Post",
		"ru": "Сообщение блога",
		"es": "Entrada en el blog",
		"ua": "Публікація блогів",
		"de": "Blogeintrag",
		"it": "Post dal Blog",
		"cs": "Blog Post",
		"tr": "Blok Postu",
	},
	"content_type.RESEARCH_MATERIAL": {
		"he": "חומרי מחקר",
		"en": "Research Material",
		"ru": "Материал исследования",
		"es": "Material de investigación",
		"ua": "Матеріал дослідження",
		"de": "Forschungsmaterial",
		"it": "Materiale di ricerca",
		"cs": "Výzkumný materiál",
		"tr": "Araştırma Materyali",
	},
	"content_type.KTAIM_NIVCHARIM": {
		"he": "קטעים נבחרים",
		"en": "Selected Highlights",
		"ru": "Избранные моменты",
		"es": "Destacados Seleccionados",
		"ua": "Вибрані моменти",
		"de": "Ausgewählte Highlights",
		"it": "Punti Salienti Selezionati",
		"cs": "Vybraná zvýraznění",
		"tr": "Seçilen Önemli Noktalar",
	},
}
View Source
var SECURE_PUBLISHED_MOD = qm.Where(fmt.Sprintf("secure=%d AND published IS TRUE", consts.SEC_PUBLIC))
View Source
var T = map[string]translation{
	consts.LANG_ENGLISH:    {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_HEBREW:     {A: "אודיו", V: "וידאו", X: "אודיו-וידאו", Title: "שיעור הקבלה היומי", Description: "במשך אלפי שנים, היו המקובלים לומדים על בסיס יומי, למען התפתחותם הרוחנית הפרטית ולמען התקדמותה הרוחנית של האנושות. בימינו, ממשיכים את אותה המסורת קבוצת המקובלים ״בני ברוך״, הלומדים מדי יום מתוך כתבי הקבלה האותנטיים, לימודים המלווים בביאור והדרכה מפי הרב ד״ר מיכאל לייטמן.", Keywords: "קבלה,שיעור,רוחניות,אותנטי", Author: "ד״ר מיכאל לייטמן"},
	consts.LANG_RUSSIAN:    {A: "Аудио", V: "Видео", X: "Аудио-Видео", Title: "Ежедневный урок по каббале", Description: "На протяжении тысячелетий каббалисты учились каждый день, ради своего личного духовного возвышения, и ради духовного возвышения человечества. В наше время продолжает эту традицию каббалистическая группа \"Бней Барух\",  занимаясь ежедневно по подлинным каббалистическим источникам, под руководством ученого – каббалиста, основателя Международной академии каббалы, Михаэля Лайтмана.", Keywords: "каббала,уроки,духовность,аутентичная", Author: "Михаэль Лайтман"},
	consts.LANG_UKRAINIAN:  {A: "Аудио", V: "Видео", X: "Аудио-Видео", Title: "Ежедневный урок по каббале (UKR)", Description: "На протяжении тысячелетий каббалисты учились каждый день, ради своего личного духовного возвышения, и ради духовного возвышения человечества. В наше время продолжает эту традицию каббалистическая группа \"Бней Барух\",  занимаясь ежедневно по подлинным каббалистическим источникам, под руководством ученого – каббалиста, основателя Международной академии каббалы, Михаэля Лайтмана.", Keywords: "каббала,уроки,духовность,аутентичная", Author: "Михаэль Лайтман"},
	consts.LANG_SPANISH:    {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (SPA)", Description: "Durante miles de años, los cabalistas se consagraron a estudiar día tras día para alcanzar el progreso espiritual de la humanidad y el suyo propio. En el Instituto Bnei Baruj para la Educación y la Investigación de la Cabalá continuamos con esta tradición en el mundo globalizado de hoy, estudiando diariamente las fuentes auténticas cabalísticas, enriquecidas con los comentarios del Rav doctor Michael Laitman", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_ITALIAN:    {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (ITA)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_GERMAN:     {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (GER)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_DUTCH:      {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (DUT)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_FRENCH:     {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (FRE)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_PORTUGUESE: {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (POR)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_TURKISH:    {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (TRK)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_POLISH:     {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (POL)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_ARABIC:     {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (ARB)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_HUNGARIAN:  {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (HUN)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_FINNISH:    {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (FIN)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_LITHUANIAN: {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (LIT)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_JAPANESE:   {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (JPN)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_BULGARIAN:  {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (BUL)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_GEORGIAN:   {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (GEO)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_NORWEGIAN:  {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (NOR)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_SWEDISH:    {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (SWE)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_CHINESE:    {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (CHN)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_PERSIAN:    {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (PER)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_ROMANIAN:   {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (RON)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_HINDI:      {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (HIN)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_MACEDONIAN: {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (MKD)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_SLOVENIAN:  {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (SLV)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_LATVIAN:    {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (LAV)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_SLOVAK:     {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (SLK)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
	consts.LANG_CZECH:      {A: "Audio", V: "Video", X: "Audio-Video", Title: "Daily Kabbalah Lesson (CZE)", Description: "For thousands of years, Kabbalists have been studying on a daily basis for their and humanity's spiritual progress. Continuing this tradition into today's globally connected world, the Bnei Baruch Kabbalah Education & Research Institute, studies daily from authentic Kabbalistic sources, with commentary by Dr. Michael Laitman.", Keywords: "kabbalah,lessons,spirituality,authentic", Author: "Dr. Michael Laitman"},
}

Functions

func AutocompleteHandler

func AutocompleteHandler(c *gin.Context)

func BlogPostHandler added in v1.0.1

func BlogPostHandler(c *gin.Context)

func BlogPostsHandler added in v1.0.1

func BlogPostsHandler(c *gin.Context)

func CMSBanner added in v1.5.7

func CMSBanner(c *gin.Context)

func CMSImage added in v1.6.2

func CMSImage(c *gin.Context)

func CMSPerson added in v1.5.7

func CMSPerson(c *gin.Context)

func CMSSource added in v1.6.1

func CMSSource(c *gin.Context)

func CMSSourceIndex added in v1.6.1

func CMSSourceIndex(c *gin.Context)

func CMSTopics added in v1.6.2

func CMSTopics(c *gin.Context)

func ClickHandler added in v0.8.0

func ClickHandler(c *gin.Context)

func CollectionHandler

func CollectionHandler(c *gin.Context)

func CollectionsHandler

func CollectionsHandler(c *gin.Context)

func ContentUnitHandler

func ContentUnitHandler(c *gin.Context)

func ContentUnitsHandler

func ContentUnitsHandler(c *gin.Context)

func EvalQueryHandler added in v1.1.8

func EvalQueryHandler(c *gin.Context)

func EvalSetHandler added in v1.1.8

func EvalSetHandler(c *gin.Context)

func EvalSxSHandler added in v1.6.3

func EvalSxSHandler(c *gin.Context)

func FeedByContentType added in v1.7.0

func FeedByContentType(c *gin.Context)

func FeedCollections added in v1.6.9

func FeedCollections(c *gin.Context)

func FeedMorningLesson added in v0.9.7

func FeedMorningLesson(c *gin.Context)

Lesson Downloader DLANG=ENG&DF=[A]/V&DAYS=[0]|1

func FeedPodcast added in v0.9.7

func FeedPodcast(c *gin.Context)

func FeedRssPhp added in v0.9.7

func FeedRssPhp(c *gin.Context)

func FeedRssVideo added in v1.0.7

func FeedRssVideo(c *gin.Context)

func FeedRusForLaitmanRu added in v0.9.7

func FeedRusForLaitmanRu(c *gin.Context)

TODO: Feed for Som

func FeedRusZohar added in v0.9.7

func FeedRusZohar(c *gin.Context)

TODO: Feed for Som

func FeedWSXML added in v0.9.7

func FeedWSXML(c *gin.Context)

wsxml.xml?CID=4016&DLANG=HEB&DF=2013-04-30&DT=2013-03-31 supports only CID: 120 - yehsivat haverim (kab.co.il), 4728 - lesson parts (kab.co.il) This feed is used by kab.co.il On that server there is a hardcoded ip of our server !!!

func GetFiltersStats added in v0.9.6

func GetFiltersStats(db *sql.DB, cuScope string, cuScopeArgs []interface{}) (ClassificationStats, ClassificationStats, error)

func HealthCheckHandler added in v0.8.2

func HealthCheckHandler(c *gin.Context)

func HomePageHandler added in v0.6.6

func HomePageHandler(c *gin.Context)

func LatestLessonHandler added in v0.6.6

func LatestLessonHandler(c *gin.Context)

func LessonsHandler

func LessonsHandler(c *gin.Context)

func Ping added in v0.8.2

func Ping(ctx context.Context, db *sql.DB) error

func PublishersHandler added in v0.6.5

func PublishersHandler(c *gin.Context)

func RecentlyUpdatedHandler

func RecentlyUpdatedHandler(c *gin.Context)

func SearchHandler

func SearchHandler(c *gin.Context)

func SemiQuasiDataHandler added in v0.7.3

func SemiQuasiDataHandler(c *gin.Context)

func SetupRoutes

func SetupRoutes(router *gin.Engine)

func SimpleModeHandler added in v1.0.0

func SimpleModeHandler(c *gin.Context)

func SourcesHierarchyHandler

func SourcesHierarchyHandler(c *gin.Context)

func StatsCUClassHandler added in v0.8.7

func StatsCUClassHandler(c *gin.Context)

func TagDashboardHandler added in v0.9.0

func TagDashboardHandler(c *gin.Context)

func TagsHierarchyHandler

func TagsHierarchyHandler(c *gin.Context)

func TweetsHandler added in v0.9.9

func TweetsHandler(c *gin.Context)

Types

type Author

type Author struct {
	Code     string      `json:"id"`
	Name     string      `json:"name"`
	FullName null.String `json:"full_name,omitempty"`
	Children []*Source   `json:"children,omitempty"`
}
type Banner struct {
	Section   string `json:"section"`
	Header    string `json:"header"`
	SubHeader string `json:"sub_header"`
	Url       string `json:"url"`
	Image     string `json:"image"`
}

type BaseRequest

type BaseRequest struct {
	Language string `json:"language" form:"language" binding:"omitempty,len=2"`
}

type BlogFilter added in v1.0.1

type BlogFilter struct {
	Blogs []string `json:"blogs" form:"blog" binding:"omitempty"`
}

type BlogPost added in v1.0.1

type BlogPost struct {
	Blog         string    `json:"blog"`
	WordpressID  int64     `json:"wp_id"`
	CanonicalUrl string    `json:"url"`
	Title        string    `json:"title"`
	Content      string    `json:"content"`
	CreatedAt    time.Time `json:"created_at"`
}

type BlogPostsRequest added in v1.0.1

type BlogPostsRequest struct {
	ListRequest
	DateRangeFilter
	BlogFilter
	IDsFilter
}

type BlogPostsResponse added in v1.0.1

type BlogPostsResponse struct {
	ListResponse
	Posts []*BlogPost `json:"posts"`
}

func NewBlogPostsResponse added in v1.0.1

func NewBlogPostsResponse() *BlogPostsResponse

type CMSParams added in v1.5.7

type CMSParams struct {
	Assets string
	Mode   string
}

type ClassificationStats added in v0.9.6

type ClassificationStats map[string]int

type Collection

type Collection struct {
	ID              string         `json:"id"`
	ContentType     string         `json:"content_type"`
	Name            string         `json:"name,omitempty"`
	Description     string         `json:"description,omitempty"`
	FilmDate        *utils.Date    `json:"film_date,omitempty"`
	StartDate       *utils.Date    `json:"start_date,omitempty"`
	EndDate         *utils.Date    `json:"end_date,omitempty"`
	Country         string         `json:"country,omitempty"`
	City            string         `json:"city,omitempty"`
	FullAddress     string         `json:"full_address,omitempty"`
	Genres          []string       `json:"genres,omitempty"`
	DefaultLanguage string         `json:"default_language,omitempty"`
	HolidayID       string         `json:"holiday_id,omitempty"`
	SourceID        string         `json:"source_id,omitempty"`
	TagIDs          []string       `json:"tag_id,omitempty"`
	Number          int            `json:"number,omitempty"`
	ContentUnits    []*ContentUnit `json:"content_units,omitempty"`
}

type CollectionUpdateStatus

type CollectionUpdateStatus struct {
	UID        string     `json:"id"`
	LastUpdate utils.Date `json:"last_update"`
	UnitsCount int        `json:"units_count"`
}

type CollectionsFilter added in v0.6.5

type CollectionsFilter struct {
	Collections []string `json:"collections" form:"collection" binding:"omitempty,dive,len=8"`
}

type CollectionsRequest

type CollectionsRequest struct {
	ListRequest
	IDsFilter
	ContentTypesFilter
	DateRangeFilter
	SourcesFilter
	TagsFilter
	WithUnits bool `json:"with_units" form:"with_units"`
}

type CollectionsResponse

type CollectionsResponse struct {
	ListResponse
	Collections []*Collection `json:"collections"`
}

func NewCollectionsResponse

func NewCollectionsResponse() *CollectionsResponse

type ContentTypesFilter

type ContentTypesFilter struct {
	ContentTypes []string `json:"content_types" form:"content_type" binding:"omitempty"`
}

type ContentUnit

type ContentUnit struct {
	ID               string                 `json:"id"`
	ContentType      string                 `json:"content_type"`
	NameInCollection string                 `json:"name_in_collection,omitempty"`
	FilmDate         *utils.Date            `json:"film_date,omitempty"`
	Name             string                 `json:"name,omitempty"`
	Description      string                 `json:"description,omitempty"`
	Duration         float64                `json:"duration,omitempty"`
	OriginalLanguage string                 `json:"original_language,omitempty"`
	Files            []*File                `json:"files,omitempty"`
	Collections      map[string]*Collection `json:"collections,omitempty"`
	Sources          []string               `json:"sources,omitempty"`
	Tags             []string               `json:"tags,omitempty"`

	Publishers   []string                `json:"publishers,omitempty"`
	SourceUnits  map[string]*ContentUnit `json:"source_units,omitempty"`
	DerivedUnits map[string]*ContentUnit `json:"derived_units,omitempty"`
	// contains filtered or unexported fields
}

type ContentUnitsRequest

type ContentUnitsRequest struct {
	ListRequest
	IDsFilter
	ContentTypesFilter
	DateRangeFilter
	SourcesFilter
	TagsFilter
	GenresProgramsFilter
	CollectionsFilter
	PublishersFilter
	PersonsFilter
	MediaLanguageFilter
	WithFiles       bool `json:"with_files" form:"with_files"`
	WithDerivations bool `json:"with_derivations" form:"with_derivations"`
	WithTags        bool `json:"with_tags" form:"with_tags"`
}

type ContentUnitsResponse

type ContentUnitsResponse struct {
	ListResponse
	ContentUnits []*ContentUnit `json:"content_units"`
}

func NewContentUnitsResponse

func NewContentUnitsResponse() *ContentUnitsResponse

type DateRangeFilter

type DateRangeFilter struct {
	StartDate string `json:"start_date" form:"start_date" binding:"omitempty"`
	EndDate   string `json:"end_date" form:"end_date" binding:"omitempty"`
}

func (*DateRangeFilter) Range

func (drf *DateRangeFilter) Range() (time.Time, time.Time, error)

type EvalQueryRequest added in v1.1.8

type EvalQueryRequest struct {
	EvalQuery          search.EvalQuery `json:"eval_query"`
	ExpectationStrings []string         `json:"expectation_strings"`
	// contains filtered or unexported fields
}

type EvalQueryResponse added in v1.1.8

type EvalQueryResponse struct {
	EvalResult search.EvalResult `json:"eval_result"`
}

type EvalSetRequest added in v1.1.8

type EvalSetRequest struct {
	ServerUrl    string `json:"server_url"`
	RecallSetCSV string `json:"recall_set_csv"`
}

type EvalSetResponse added in v1.1.8

type EvalSetResponse struct {
	Results    search.EvalResults    `json:"results"`
	Losses     map[int][]search.Loss `json:"losses"`
	FlatReport string                `json:"flat_report"`
}

type EvalSxSRequest added in v1.6.3

type EvalSxSRequest struct {
	DiffsLimit    int32  `json:"diffs_limit"`
	BaseServerUrl string `json:"base_server_url"`
	ExpServerUrl  string `json:"exp_server_url"`
	Language      string `json:"language"`
}

type File

type File struct {
	ID        string    `json:"id"`
	Name      string    `json:"name"`
	Size      int64     `json:"size"`
	Duration  float64   `json:"duration,omitempty"`
	Language  string    `json:"language,omitempty"`
	MimeType  string    `json:"mimetype,omitempty"`
	Type      string    `json:"type,omitempty"`
	SubType   string    `json:"subtype,omitempty"`
	VideoSize string    `json:"video_size,omitempty"`
	CreatedAt time.Time `json:"-"`
}

type GenresProgramsFilter

type GenresProgramsFilter struct {
	Genres   []string `json:"genres" form:"genre" binding:"omitempty"`
	Programs []string `json:"programs" form:"program" binding:"omitempty,dive,len=8"`
}

type HierarchyRequest

type HierarchyRequest struct {
	BaseRequest
	RootUID string `json:"root" form:"root" binding:"omitempty,len=8"`
	Depth   int    `json:"depth" form:"depth"`
}

type HomeResponse added in v0.6.9

type HomeResponse struct {
	LatestDailyLesson  *Collection    `json:"latest_daily_lesson"`
	LatestContentUnits []*ContentUnit `json:"latest_units"`
	Banner             *Banner        `json:"banner"`
}

type HttpError

type HttpError struct {
	Code int
	Err  error
	Type gin.ErrorType
}

func NewBadRequestError

func NewBadRequestError(err error) *HttpError

func NewHttpError

func NewHttpError(code int, err error, t gin.ErrorType) *HttpError

func NewInternalError

func NewInternalError(err error) *HttpError

func NewNotFoundError

func NewNotFoundError() *HttpError

func (HttpError) Abort

func (e HttpError) Abort(c *gin.Context)

func (HttpError) Error

func (e HttpError) Error() string

type IDSet added in v0.9.6

type IDSet map[int64]bool

func (IDSet) Increment added in v0.9.6

func (h IDSet) Increment(k int64)

func (IDSet) Merge added in v0.9.6

func (h IDSet) Merge(other IDSet)

type IDsFilter

type IDsFilter struct {
	IDs []string `json:"ids" form:"id" binding:"omitempty"`
}

type ItemRequest

type ItemRequest struct {
	BaseRequest
	UID string
}

type ListRequest

type ListRequest struct {
	BaseRequest
	PageNumber int    `json:"page_no" form:"page_no" binding:"omitempty,min=1"`
	PageSize   int    `json:"page_size" form:"page_size" binding:"omitempty,min=1"`
	StartIndex int    `json:"start_index" form:"start_index" binding:"omitempty,min=1"`
	StopIndex  int    `json:"stop_index" form:"stop_index" binding:"omitempty,min=1"`
	OrderBy    string `json:"order_by" form:"order_by" binding:"omitempty"`
	GroupBy    string `json:"-"`
}

type ListResponse

type ListResponse struct {
	Total int64 `json:"total"`
}

type MediaLanguageFilter added in v1.5.3

type MediaLanguageFilter struct {
	MediaLanguage string `json:"media_language" form:"media_language" binding:"omitempty,len=2"`
}

type PersonsFilter added in v1.0.0

type PersonsFilter struct {
	Persons []string `json:"persons" form:"person" binding:"omitempty,dive,len=8"`
}

type Publisher added in v0.6.5

type Publisher struct {
	UID         string      `json:"id"`
	Name        null.String `json:"name"`
	Description null.String `json:"description,omitempty"`
	ID          int64       `json:"-"`
}

type PublishersFilter added in v0.6.5

type PublishersFilter struct {
	Publishers []string `json:"publishers" form:"publisher" binding:"omitempty,dive,len=8"`
}

type PublishersRequest added in v0.6.5

type PublishersRequest struct {
	ListRequest
}

type PublishersResponse added in v0.6.5

type PublishersResponse struct {
	ListResponse
	Publishers []*Publisher `json:"publishers"`
}

func NewPublishersResponse added in v0.6.5

func NewPublishersResponse() *PublishersResponse

type SemiQuasiData added in v0.7.3

type SemiQuasiData struct {
	Authors    []*Author    `json:"sources"`
	Tags       []*Tag       `json:"tags"`
	Publishers []*Publisher `json:"publishers"`
}

type SimpleModeRequest added in v1.0.0

type SimpleModeRequest struct {
	BaseRequest
	DateRangeFilter
}

type SimpleModeResponse added in v1.0.0

type SimpleModeResponse struct {
	ListResponse
	Lessons []*Collection  `json:"lessons"`
	Others  []*ContentUnit `json:"others"`
}

type Source

type Source struct {
	UID         string     `json:"id"`
	ParentUID   string     `json:"parent_id"`
	Type        string     `json:"type"`
	Name        string     `json:"name"`
	Description string     `json:"description,omitempty"`
	Year        string     `json:"year,omitempty"`
	Number      string     `json:"number,omitempty"`
	Children    []*Source  `json:"children,omitempty"`
	ID          int64      `json:"-"`
	ParentID    null.Int64 `json:"-"`
	Position    null.Int   `json:"-"`
}

type SourcesFilter

type SourcesFilter struct {
	Authors []string `json:"authors" form:"author" binding:"omitempty"`
	Sources []string `json:"sources" form:"source" binding:"omitempty,dive,len=8"`
}

type StatsCUClassResponse added in v0.8.7

type StatsCUClassResponse struct {
	Sources map[string]int `json:"sources"`
	Tags    map[string]int `json:"tags"`
}

func NewStatsCUClassResponse added in v0.8.7

func NewStatsCUClassResponse() *StatsCUClassResponse

type StatsNode added in v0.9.6

type StatsNode struct {
	// contains filtered or unexported fields
}

type StatsTree added in v0.9.6

type StatsTree struct {
	// contains filtered or unexported fields
}

func NewStatsTree added in v0.9.6

func NewStatsTree() *StatsTree

type Tag

type Tag struct {
	UID       string      `json:"id"`
	ParentUID string      `json:"parent_id"`
	Label     null.String `json:"label"`
	Children  []*Tag      `json:"children,omitempty"`
	ID        int64       `json:"-"`
	ParentID  null.Int64  `json:"-"`
}

type TagDashboardRequest added in v1.5.7

type TagDashboardRequest struct {
	ItemRequest
	N int `json:"n" form:"n"`
}

type TagsDashboardResponse added in v0.9.0

type TagsDashboardResponse struct {
	PromotedContentUnits []*ContentUnit `json:"promoted_units"`
	LatestContentUnits   []*ContentUnit `json:"latest_units"`
	Counts               map[string]int `json:"counts"`
}

func NewTagsDashboardResponse added in v0.9.0

func NewTagsDashboardResponse() *TagsDashboardResponse

type TagsFilter

type TagsFilter struct {
	Tags []string `json:"tags" form:"tag" binding:"omitempty,dive,len=8"`
}

type Tweet added in v0.9.9

type Tweet struct {
	Username  string    `json:"username"`
	TwitterID string    `json:"twitter_id"`
	FullText  string    `json:"full_text"`
	CreatedAt time.Time `json:"created_at"`
	Raw       null.JSON `json:"raw"`
}

type TweetsRequest added in v0.9.9

type TweetsRequest struct {
	ListRequest
	DateRangeFilter
	UsernameFilter
	IDsFilter
}

type TweetsResponse added in v0.9.9

type TweetsResponse struct {
	ListResponse
	Tweets []*Tweet `json:"tweets"`
}

func NewTweetsResponse added in v0.9.9

func NewTweetsResponse() *TweetsResponse

type UsernameFilter added in v0.9.9

type UsernameFilter struct {
	Usernames []string `json:"usernames" form:"username" binding:"omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL