You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/24 01:32:23 UTC

[GitHub] [apisix-dashboard] bzp2010 commented on a change in pull request #588: feat: embedding static files into Go binaries

bzp2010 commented on a change in pull request #588:
URL: https://github.com/apache/apisix-dashboard/pull/588#discussion_r511238043



##########
File path: api/main.go
##########
@@ -14,6 +14,9 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
+//go:generate statik -src=./dashboard -f

Review comment:
       It describes the instructions that will be executed when you run `go generate` directly. Users can use the static command instead of go generate.
   This command does not affect the original compilation process.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org