kalexmills / rangeloop-test-repo

Test repository
0 stars 0 forks source link

exu/go-workshops: 215-databases-orm/30-gorm-query.go; 3 LoC #4449

Open githubvet opened 3 years ago

githubvet commented 3 years ago

Found a possible issue in exu/go-workshops at 215-databases-orm/30-gorm-query.go

Below is the message reported by the analyzer for this snippet of code. Beware that the analyzer only reports the first issue it finds, so please do not limit your consideration to the contents of the below message.

Click here to see the code in its original context.

Click here to show the 3 line(s) of Go which triggered the analyzer. ```go for _, user := range users { db.FirstOrCreate(&user) } ```
Click here to show extra information the analyzer produced. ``` No path was found through the callgraph that could lead to a function which writes a pointer argument. No path was found through the callgraph that could lead to a function which passes a pointer to third-party code. root signature {FirstOrCreate 1} was not found in the callgraph; reference was passed directly to third-party code ```

Leave a reaction on this issue to contribute to the project by classifying this instance as a Bug :-1:, Mitigated :+1:, or Desirable Behavior :rocket: See the descriptions of the classifications here for more information.

commit ID: 5ef9de87a0f27aaa771312a86449271d2f3e513d