Skip to content

Replace ioutil #67

Closed
Closed
@mrwormhole

Description

@mrwormhole

My actions before raising this issue

Any possibility to replace ioutil with non deprecated method? I can just use io package which is the most direct & explicit way after 1.16v, I can also see some variable naming a bit annoying like bErr, cErr, dErr instead of being just err

I am also a bit confused about having request and response OpenFaaS model in a separate repository over here: github.com/openfaas/templates-sdk/go-http

Is there a reason why it is there but not in this repository? The files seem very minimal to have it somewhere else. For the maintainability sake, I would pull that repo's go-http here and delete this openfaas/templates-sdk dependecy for Go templates

Expected Behaviour

No behaviour change, just a maintainability and a convention

Current Behaviour

No behaviour change, just a maintainability and a convention

Possible Solution

No solution needed, tidy up task

Steps to Reproduce (for bugs)

N/A

Context

N/A

Your Environment

  • FaaS-CLI version ( Full output from: faas-cli version ):

  • Docker version docker version (e.g. Docker 17.0.05 ):

  • Are you using Docker Swarm or Kubernetes (FaaS-netes)?
    No

  • Operating System and version (e.g. Linux, Windows, MacOS):
    Linux

  • Code example or link to GitHub repo or gist to reproduce problem:
    N/A

  • Other diagnostic information / logs from troubleshooting guide

Next steps

You may join Slack for community support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions