gitea: Index | Files

package search

import ""


Package Files


type Result Uses

type Result struct {
    RepoID         int64
    Filename       string
    HighlightClass string
    LineNumbers    []int
    FormattedLines gotemplate.HTML

Result a search result to display

func PerformSearch Uses

func PerformSearch(repoIDs []int64, keyword string, page, pageSize int) (int, []*Result, error)

PerformSearch perform a search on a repository

Package search imports 7 packages (graph) and is imported by 4 packages. Updated 2019-03-26. Refresh now. Tools for package owners.