From 8b7d08cb082537b5ede431b07f0c06fd9ebdfb29 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Sun, 4 Jul 2021 14:00:56 +0300 Subject: [PATCH] [#105] *: Remove `contract` from package names `contract` postfix is redundant and makes autogenerated docs looks ugly. Signed-off-by: Alex Vanin --- alphabet/alphabet_contract.go | 2 +- audit/audit_contract.go | 2 +- balance/balance_contract.go | 2 +- container/container_contract.go | 2 +- neofs/neofs_contract.go | 2 +- neofsid/neofsid_contract.go | 2 +- netmap/netmap_contract.go | 2 +- processing/processing_contract.go | 2 +- proxy/proxy_contract.go | 2 +- reputation/reputation_contract.go | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/alphabet/alphabet_contract.go b/alphabet/alphabet_contract.go index 1c663cc..a91d0f9 100644 --- a/alphabet/alphabet_contract.go +++ b/alphabet/alphabet_contract.go @@ -1,4 +1,4 @@ -package alphabetcontract +package alphabet import ( "github.com/nspcc-dev/neo-go/pkg/interop" diff --git a/audit/audit_contract.go b/audit/audit_contract.go index 55247f9..aaeb028 100644 --- a/audit/audit_contract.go +++ b/audit/audit_contract.go @@ -1,4 +1,4 @@ -package auditcontract +package audit import ( "github.com/nspcc-dev/neo-go/pkg/interop" diff --git a/balance/balance_contract.go b/balance/balance_contract.go index 3f93e3f..4d2f6e0 100644 --- a/balance/balance_contract.go +++ b/balance/balance_contract.go @@ -1,4 +1,4 @@ -package balancecontract +package balance import ( "github.com/nspcc-dev/neo-go/pkg/interop" diff --git a/container/container_contract.go b/container/container_contract.go index dc84387..874788b 100644 --- a/container/container_contract.go +++ b/container/container_contract.go @@ -1,4 +1,4 @@ -package containercontract +package container import ( "github.com/nspcc-dev/neo-go/pkg/interop" diff --git a/neofs/neofs_contract.go b/neofs/neofs_contract.go index bcbacd6..923e049 100644 --- a/neofs/neofs_contract.go +++ b/neofs/neofs_contract.go @@ -1,4 +1,4 @@ -package smart_contract +package neofs /* NeoFS Smart Contract for NEO3.0. diff --git a/neofsid/neofsid_contract.go b/neofsid/neofsid_contract.go index 4aa0fa7..601770e 100644 --- a/neofsid/neofsid_contract.go +++ b/neofsid/neofsid_contract.go @@ -1,4 +1,4 @@ -package neofsidcontract +package neofsid import ( "github.com/nspcc-dev/neo-go/pkg/interop" diff --git a/netmap/netmap_contract.go b/netmap/netmap_contract.go index 13ec204..6b2a44d 100644 --- a/netmap/netmap_contract.go +++ b/netmap/netmap_contract.go @@ -1,4 +1,4 @@ -package netmapcontract +package netmap import ( "github.com/nspcc-dev/neo-go/pkg/interop" diff --git a/processing/processing_contract.go b/processing/processing_contract.go index 7cd14a9..8ea8a4e 100644 --- a/processing/processing_contract.go +++ b/processing/processing_contract.go @@ -1,4 +1,4 @@ -package processingcontract +package processing import ( "github.com/nspcc-dev/neo-go/pkg/interop" diff --git a/proxy/proxy_contract.go b/proxy/proxy_contract.go index 0ed1c50..832fc85 100644 --- a/proxy/proxy_contract.go +++ b/proxy/proxy_contract.go @@ -1,4 +1,4 @@ -package proxycontract +package proxy import ( "github.com/nspcc-dev/neo-go/pkg/interop" diff --git a/reputation/reputation_contract.go b/reputation/reputation_contract.go index cd5bc37..cffd5d3 100644 --- a/reputation/reputation_contract.go +++ b/reputation/reputation_contract.go @@ -1,4 +1,4 @@ -package reputationcontract +package reputation import ( "github.com/nspcc-dev/neo-go/pkg/interop"