Ints view#3
Conversation
0353ccb to
5d4effd
Compare
There was a problem hiding this comment.
Why not use stream instead of for loop?
There was a problem hiding this comment.
import github.com/yale8848/stream to fix this.
There was a problem hiding this comment.
Looks quite similar with FindHighlights. May be refactored.
There was a problem hiding this comment.
a,b are not good name. Maybe s for string, i for item would be better. stringInSlice is weird, maybe 'find' or 'lookup'.
There was a problem hiding this comment.
prefer to 'o' instead of 'r' which means outputs.
There was a problem hiding this comment.
I thought use 'r' as the shorthand for 'result'. It seems 'o' would be better than it, right?
There was a problem hiding this comment.
useless logic. remove the copy.
There was a problem hiding this comment.
if other is nil or empty, s can be returned if it is not nil or empty. think about these corner cases.
There was a problem hiding this comment.
add logic to handle empty case when other is empty.
There was a problem hiding this comment.
All miss boundary testing, nil and empty, and negative test cases.
* Fix issue anz-bank#232 and anz-bank#233 * Add default value for SYSL_PLANTUML * Add kingpin package to handle command-line args * Align command-line args with python
fa000e8 to
8c987ec
Compare
59a0d80 to
0009d89
Compare
e720881 to
1a0a174
Compare
…#238) * New documentation on installing plantuml server for mac osx * add gradle to travis
397ace6 to
cdedf15
Compare
107cfac to
e274e93
Compare
1e54397 to
2334a93
Compare
463e2b6 to
c26d3e0
Compare
466a337 to
1fb105d
Compare
Enable all golangci-lint linters Temporarily suppress unparam for two functions
3d47a7e to
a75d23f
Compare
289b56a to
bff21e8
Compare
* Pin .golangci.yaml to golangci-lint 1.17.1 * Remove golangci-lint from travis build (golangci.com now does it).
Also remove SYSL_PYTHON_BIN from CI build
4791fff to
e91f094
Compare
Fixes # .
Changes proposed in this pull request: