Skip to content

Commit

Permalink
all: Clean up Go doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed Sep 19, 2023
1 parent 640af42 commit 99f6e19
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/hvm/clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/disable.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/hvm/testscripts/disable.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
[windows] env LocalAppData=cache
[windows] env AppData=config

# https://github.com/actions/runner-images/issues/602
[darwin] skip

# Test
stdin input.txt
exec hvm use
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/testscripts/status_err_3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[linux] env XDG_CONFIG_HOME=config
[windows] env LocalAppData=cache
[windows] env AppData=config

# Test
! exec hvm status
stderr 'the \.hvm file in the current directory points to an invalid path'
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/use.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/hvm/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/archive/archive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package archive

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/archive/extract_targz.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package archive

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/archive/extract_zip.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package archive

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/helpers/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package helpers

import (
Expand Down

0 comments on commit 99f6e19

Please sign in to comment.