Skip to content

range over the pointer of a slice #18118

Closed
@azhai

Description

@azhai

Gitea Version

e4e3df6

Git Version

2.34

Operating System

CentOS 7

How are you running Gitea?

In go 1.18 beta1:
TAGS="bindata" make build

Database

MySQL

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Description

modules/indexer/code/bleve.go:427:23: cannot range over languagesFacet.Terms (variable of type *search.TermFacets)

A similar bug in StackOverflow
golang-cannot-range-over-pointer-to-slice

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions