solher/arangolite

View on GitHub
requests/collection.go

Summary

Maintainability
A
0 mins
Test Coverage

exported method CreateCollection.Method should have comment or be unexported
Open

func (r *CreateCollection) Method() string {
Severity: Minor
Found in requests/collection.go by golint

exported method TruncateCollection.Path should have comment or be unexported
Open

func (r *TruncateCollection) Path() string {
Severity: Minor
Found in requests/collection.go by golint

exported type CollectionInfo should have comment or be unexported
Open

type CollectionInfo struct {
Severity: Minor
Found in requests/collection.go by golint

exported method ListCollections.Generate should have comment or be unexported
Open

func (c *ListCollections) Generate() []byte {
Severity: Minor
Found in requests/collection.go by golint

exported method GetCollectionInfo.Path should have comment or be unexported
Open

func (c *GetCollectionInfo) Path() string {
Severity: Minor
Found in requests/collection.go by golint

exported method DropCollection.Path should have comment or be unexported
Open

func (r *DropCollection) Path() string {
Severity: Minor
Found in requests/collection.go by golint

exported method DropCollection.Generate should have comment or be unexported
Open

func (r *DropCollection) Generate() []byte {
Severity: Minor
Found in requests/collection.go by golint

exported method CreateCollection.Path should have comment or be unexported
Open

func (r *CreateCollection) Path() string {
Severity: Minor
Found in requests/collection.go by golint

exported method TruncateCollection.Method should have comment or be unexported
Open

func (r *TruncateCollection) Method() string {
Severity: Minor
Found in requests/collection.go by golint

exported method TruncateCollection.Generate should have comment or be unexported
Open

func (r *TruncateCollection) Generate() []byte {
Severity: Minor
Found in requests/collection.go by golint

exported method DropCollection.Method should have comment or be unexported
Open

func (r *DropCollection) Method() string {
Severity: Minor
Found in requests/collection.go by golint

exported method ListCollections.Path should have comment or be unexported
Open

func (c *ListCollections) Path() string {
Severity: Minor
Found in requests/collection.go by golint

exported method ListCollections.Method should have comment or be unexported
Open

func (c *ListCollections) Method() string {
Severity: Minor
Found in requests/collection.go by golint

exported method GetCollectionInfo.Method should have comment or be unexported
Open

func (c *GetCollectionInfo) Method() string {
Severity: Minor
Found in requests/collection.go by golint

struct field Id should be ID
Open

    Id       string `json:"id"`
Severity: Minor
Found in requests/collection.go by golint

comment on exported type GetCollectionInfo should be of the form "GetCollectionInfo ..." (with optional leading article)
Open

// CollectionInfo gets information about the collection
Severity: Minor
Found in requests/collection.go by golint

exported method CreateCollection.Generate should have comment or be unexported
Open

func (r *CreateCollection) Generate() []byte {
Severity: Minor
Found in requests/collection.go by golint

exported method GetCollectionInfo.Generate should have comment or be unexported
Open

func (c *GetCollectionInfo) Generate() []byte {
Severity: Minor
Found in requests/collection.go by golint

exported type CollectionInfoList should have comment or be unexported
Open

type CollectionInfoList struct {
Severity: Minor
Found in requests/collection.go by golint

There are no issues that match your filters.

Category
Status