go-ego / riot

Go Open Source, Distributed, Simple and efficient Search Engine; Warning: This is V1 and beta version, because of big memory consume, and the V2 will be rewrite all code.
Apache License 2.0
6.11k stars 473 forks source link

syntax error: unexpected = in type #69

Closed drinking closed 5 years ago

drinking commented 5 years ago

build error

doc_index_data.go:20: syntax error: unexpected = in type declaration github.com/go-ego/g

env

go version go1.8.3 darwin/amd64

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1 Apple LLVM version 9.1.0 (clang-902.0.39.2) Target: x86_64-apple-darwin18.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

vcaesar commented 5 years ago

Please update golang to go1.9 and up, or delete the line of code.